什么是 configure-alerting-rules?
使用路由树、接收器(Slack、PagerDuty、电子邮件)、禁止规则、静音和通知模板配置 Prometheus Alertmanager,以实现可操作的事件警报。在通过自动事件检测实施主动监控、按严重性将警报路由到适当的团队、通过分组和重复数据删除减少警报疲劳、与 PagerDuty 等待命系统集成或从传统警报迁移到基于 Prometheus 的警报时使用。 来源:pjt222/development-guides。
使用路由树、接收器(Slack、PagerDuty、电子邮件)、禁止规则、静音和通知模板配置 Prometheus Alertmanager,以实现可操作的事件警报。在通过自动事件检测实施主动监控、按严重性将警报路由到适当的团队、通过分组和重复数据删除减少警报疲劳、与 PagerDuty 等待命系统集成或从传统警报迁移到基于 Prometheus 的警报时使用。
通过命令行快速安装 configure-alerting-rules AI 技能到你的开发环境
来源:pjt222/development-guides。
Set up Prometheus alerting rules and Alertmanager for reliable, actionable incident notifications.
Expected: Alertmanager UI accessible at http://localhost:9093, Prometheus "Status > Alertmanagers" shows UP status.
Create alerting rules file (/etc/prometheus/rules/alerts.yml excerpt):
使用路由树、接收器(Slack、PagerDuty、电子邮件)、禁止规则、静音和通知模板配置 Prometheus Alertmanager,以实现可操作的事件警报。在通过自动事件检测实施主动监控、按严重性将警报路由到适当的团队、通过分组和重复数据删除减少警报疲劳、与 PagerDuty 等待命系统集成或从传统警报迁移到基于 Prometheus 的警报时使用。 来源:pjt222/development-guides。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/pjt222/development-guides --skill configure-alerting-rules使用路由树、接收器(Slack、PagerDuty、电子邮件)、禁止规则、静音和通知模板配置 Prometheus Alertmanager,以实现可操作的事件警报。在通过自动事件检测实施主动监控、按严重性将警报路由到适当的团队、通过分组和重复数据删除减少警报疲劳、与 PagerDuty 等待命系统集成或从传统警报迁移到基于 Prometheus 的警报时使用。 来源:pjt222/development-guides。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/pjt222/development-guides --skill configure-alerting-rules 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/pjt222/development-guides