首页/ AI 技能 / @skilllib/skill-2014279368770531329
Skill站外收录 @skilllib/skill-2014279368770531329

alerting-rule-creator

支持自动化构建面向系统可观测性的智能告警规则,覆盖延迟、错误率、吞吐量、资源使用率、可用性及 SLO 违规等多维度指标,同时配置阈值策略、告警路由与升级机制,并生成配套的故障排查手册。

0.0 (0) 546 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

## Overview This skill automates the creation of comprehensive alerting rules, reducing the manual effort required for performance monitoring. It guides you through defining alert categories, setting intelligent thresholds, and configuring routing and escalation policies. The skill also helps generate runbooks and establish alert testing procedures. ## How It Works 1. **Identify Alert Category**: Determines the type of alert to create (e.g., latency, error rate, resource utilization). 2. **Define Thresholds**: Sets appropriate thresholds to avoid alert fatigue and ensure timely notification of performance issues. 3. **Configure Routing and Escalation**: Establishes routing policies to direct alerts to the appropriate teams and escalation policies for timely response. 4. **Generate Runbook**: Creates a basic runbook with steps to diagnose and resolve the alerted issue. ## When to Use This Skill This skill activates when you need to: - Implement performance monitoring for a new service. - Refine existing alerting rules to reduce false positives. - Create alerts for specific performance metrics, such as latency or error rate. ## Examples ### Example 1: Setting up Latency Alerts User request: "create latency alerts for the payment service" The skill will: 1. Prompt for latency thresholds (e.g., warning and critical). 2. Configure alerts to trigger when latency exceeds defined thresholds. ### Example 2: Creating Error Rate Alerts User request: "set up alerting for error rate increases in the API gateway" The skill will: 1. Request the baseline error rate and acceptable deviation. 2. Configure alerts to trigger when the error rate exceeds the defined deviation from the baseline. ## Best Practices - **Threshold Selection**: Use historical data and statistical analysis to determine appropriate thresholds that minimize false positives and negatives. - **Alert Routing**: Route alerts to the appropriate teams or individuals based on the alert category and severity. - **Runbook Creation**: Generate or link to detailed runbooks that provide clear instructions for diagnosing and resolving the alerted issue. ## Integration This skill can be integrated with other Claude Code plugins to automate incident response workflows. For example, it can trigger automated remediation actions or create tickets in an issue tracking system.

评论 0

还没有评论,来抢沙发。