Alerting Rule Creator Skill for Sustained Queue Backlog
Create a rule with a metric, threshold, duration, and actionable summary, then exercise it with synthetic data.
中文Install in Claude Code
Use your local monitor configuration and synthetic queue samples. The example uses a Prometheus rule.
- Get the complete `plugins/performance/alerting-rule-creator/skills/creating-alerting-rules` directory from the pinned GitHub commit.
- Copy it into the target project's `.claude/skills/`. Check `.claude/skills/creating-alerting-rules/SKILL.md`, start Claude Code at the project root, and call `/creating-alerting-rules`.
Example task
Set queue depth above 100 for five minutes. Compare a two-minute breach with one lasting longer than five minutes and inspect pending and firing states.What to check
The brief breach clears. The sustained breach fires and identifies the queue with a useful investigation note.
Original SKILL.md on GitHub · Updated
Frequently asked question
How long should the for duration be?
Choose it from acceptable backlog duration, sample intervals, and service throughput, then check it against sample data.