Alerting That Does Not Burn People Out
Design alerts that page only for user-facing, actionable problems, route them with Alertmanager, and pair each with a runbook.
Intermediate · about 4 hours · difficulty 3/5
Learn first: Prometheus and Grafana
Bad alerting is worse than none: people learn to ignore it. Good alerting wakes someone only when users are hurting or about to be, and tells them what to do.
Principles
- Page on symptoms, not causes. "Checkout error rate above 2% for 5 minutes" is a page. "CPU at 90%" usually is not, unless it predicts user impact.
- Every page must be actionable. If the responder can only watch, it should be a ticket or a dashboard.
- Severity levels: page (wake someone now), ticket (fix this week), info (no notification).
- Use a
for:duration so brief blips do not fire. - Burn-rate alerts on SLOs catch both fast outages and slow degradation with few false positives.
Alertmanager
Prometheus evaluates rules; Alertmanager handles what happens next:
- Routing by labels (team, severity) to receivers: PagerDuty, Opsgenie, Slack, email.
- Grouping many related alerts into one notification.
- Inhibition: suppress downstream alerts when a root alert (such as a cluster down) is firing.
- Silences for planned maintenance.
Grafana Alerting and cloud-native alarm services cover the same ideas.
Runbooks
Each alert carries a link to a runbook: what the alert means, how to confirm impact, the first diagnostic commands, known fixes and who to escalate to. Review noisy alerts regularly and delete ones nobody acts on.
Good enough to move on: you can write a symptom-based alert with a sensible duration and severity, route it by team in Alertmanager with grouping and inhibition, and write a runbook a new teammate could follow at 3 a.m.
Key concepts
- Symptom vs cause alerts
- Actionability and severity levels
- Alert rules and for durations
- Alertmanager routing and grouping
- Inhibition and silences
- Runbooks
- PagerDuty and Opsgenie integration
Mini project
Write three alerts for your demo app (high error rate, high latency, target down), route critical ones to a paging receiver and warnings to Slack, add an inhibition rule, and write a runbook for each.
Check yourself
Your team gets 40 pages a week and most resolve on their own. What would you change first?
Free resources
- Alertmanager (Prometheus)
- Practical Alerting (SRE Book) (Google SRE)