How do you review and prune alert rules over time?
IntermediateProductionAlerting Strategy, SLOs & Runbooks
Answer
Quarterly, pull alert history from PagerDuty/Opsgenie analytics and Alertmanager (or the ALERTS series) and look at each rule:
- Never fired in 6 months: still meaningful? Test it or delete it.
- Fired often, rarely acted on: demote or retune.
- Acknowledged then auto-resolved: probably flapping or too sensitive.
- Incident found by users, not alerts: a gap to fill.
sort_desc(count by (alertname) (changes(ALERTS_FOR_STATE[30d])))
We track "pages per on-call shift" and "% pages that were actionable" as team metrics.
More on Alerting Strategy, SLOs & Runbooks
What is the single most important rule for deciding whether an alert should page a human?BeginnerWhat severity levels do you define, and where does each one go?BeginnerWhy do mature teams alert on SLO burn rate instead of raw error rate thresholds?IntermediateIn a multi-window burn-rate alert, what is the short window for?AdvancedHow do you generate SLO alert rules without hand-writing dozens of burn-rate expressions?IntermediateHow do you pick an SLO target for a service that has never had one?Beginner