Overview
Curated: · Written: · Reviewed:
On-Call & Alerting Design
In one line
Page only when a user-facing symptom, or a harm that grows while nobody acts, needs a human now and has a safe first action. Route everything else to tickets or telemetry. Reach for this when you design or review a paging rule, an Alertmanager routing tree, or a rotation.
Key definitions
- Precision: share of pages that were real and actionable.
- Recall: share of known incidents that actually paged.
- Burn rate: error ratio divided by the SLO's allowed error ratio; 1.0 spends the budget exactly on pace.
- Pending vs firing: a rule's condition must hold for its
forduration before the alert fires. - Inhibition: suppressing target alerts while a trusted parent alert fires; the suppressed alerts stay visible in the UI.
- Functional escalation: pulling in a more capable responder for technical help, kept separate from management escalation.
Formulas and complexity
A sustained 14.4x burn for one hour spends 2% of a 30-day budget. A 2% error ratio against a 99.9% SLO is a 20x burn.
How it works
- The evaluator checks each rule on its interval. The condition must hold for the
forduration (pending) before the alert fires. - Alertmanager groups firing alerts by
group_bylabels and waitsgroup_waitbefore the first notification. - Inhibit rules and silences suppress matching alerts. Matchers are exact or anchored regex on label values, so a regex must match the real label value.
- The group is routed to a receiver. The provider delivers it, the device rings, and a human acknowledges.
- Every stage can fail silently, so the whole path needs its own probe.
When to use and when not to
| Condition | Page | Ticket | Telemetry only |
|---|---|---|---|
| Fast budget burn with user errors now | Yes | No | No |
| Slow, sustained budget burn | No | Yes | No |
| Cause signal with a safe action that prevents harm | Yes | No | No |
| Cause signal the system absorbs with no user effect | No | No | Yes |
| Actionable but non-urgent (disk fills in weeks) | No | Yes | No |
| No owner and no decision it would drive | No | No | Yes |
Traps interviewers probe
- Paging on causes. CPU or pool saturation fires whenever the cause happens, including the times the system absorbed it. Fix: page on the user symptom and attach the cause signals to that page as context.
- Trusting a green evaluator. A healthy evaluator proves nothing about delivery. Fix: send a synthetic alert through the full path and check device receipt and escalation.
- Reading "No data" as zero. Missing telemetry is unknown. Fix: check the scrape target and the access logs first, and alert on absence with a
forwindow. - Silences that miss their target. A regex like
service=~"checkout"does not matchcheckout-apibecause the match is anchored. Fix: test each matcher against live label values, and set an owner, reason, scope and expiry on every silence. - Judging quality by incident count. A falling Sev-2 count can mean declarations are being delayed or suppressed. Fix: measure precision, recall, declaration delay and missed detections together.
Interview tips
Opening: name the user harm you are preventing, the symptom that maps to it, and why a human must act now.
Expect these follow-ups:
- How do you pick the windows and thresholds, and what happens at low traffic?
- What do you do during a shared dependency storm?
- How do you test the delivery path, and what would prove it works?
- What if the only fix is unsafe or slow?
- How do you keep one person from carrying every page?
30-second outline:
- Page on symptom burn rate with two windows, for example 1h and 5m at 14.4x, and say what each window guards against.
- Keep cause signals as context on the page, not as separate pages.
- Group by the incident scope responders act on. Inhibit only from a parent you trust, and keep the suppressed alerts visible.
- Probe the full path end to end. Review precision and recall each quarter, delete or downgrade alerts that never lead to action, and name a secondary and a functional escalation route.
Feedback on this overview
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.