Alerting Rule Creator 技能:为持续积压配置等待窗口
EnglishClaude Code 安装步骤
- 从 GitHub 固定提交获取完整的 `plugins/performance/alerting-rule-creator/skills/creating-alerting-rules` 目录。
- 复制到目标项目的 `.claude/skills/`,确认 `.claude/skills/creating-alerting-rules/SKILL.md`,再从项目根目录启动 Claude Code,输入 `/creating-alerting-rules`。
中文摘要
让 Claude Code 定义指标、阈值、持续时间和处理说明,再用合成时间序列核对告警触发。
SKILL.md 中文导读
可复现示例
阈值设为 100,持续 5 分钟。一段数据只超限 2 分钟,另一段持续超过 5 分钟。检查规则状态由正常变为 pending,再在第二段进入 firing。工作步骤
- 为队列深度设置阈值和 for 持续时间。给规则增加可读摘要、队列名称与排查说明。
- 用合成序列验证短暂超限、持续超限和恢复三个过程,避免向外部通知渠道发送测试事件。
验收方法
短暂积压恢复后不触发,持续积压触发一次。规则摘要指出对应队列和排查入口。
GitHub 原文 · 更新日期
适用环境
准备自己维护的本地监控配置和一份合成队列积压序列。示例使用 Prometheus 告警规则。
常见问题
for 设置多久才合适?
根据允许积压时长、采样间隔和处理速度选择,使用历史或合成数据验证。
相关指南
相关推荐
groq-install-auth 技能
jeremylongshore/claude-code-plugins-plus-skills
anima-common-errors 技能
jeremylongshore/claude-code-plugins-plus-skills
apple-notes-hello-world 技能
jeremylongshore/claude-code-plugins-plus-skills
castai-hello-world 技能
jeremylongshore/claude-code-plugins-plus-skills
cohere-local-dev-loop 技能
jeremylongshore/claude-code-plugins-plus-skills
figma-security-basics 技能
jeremylongshore/claude-code-plugins-plus-skills