Alerting and On-Call: Pages That Mean Something and Rotations People Survive
At 02:40 the on-call engineer’s phone goes off for the fourth time that night. HighCPU on payments-7. She acknowledges it from bed, checks the dashboard, sees that CPU is 87% and latency is fine, and goes back to sleep. At 03:15 a real problem starts: a certificate on the payment provider integration expires and every card payment fails. There is no alert for that. The first signal is a customer support ticket at 07:50, four and a half hours later.
The team had 140 alert rules and paged about 110 times a week. None of them measured whether users could pay. That is the typical failure of alerting: too many pages about causes, none about symptoms, and a human trained by repetition to ignore the phone.
This article is about building the opposite: few alerts, each one tied to user pain, routed to someone who knows what to do, with a rotation that does not burn people out.
What it is
Alerting is the part of observability that decides when a human must act, and how urgently. On-call is the arrangement of people, schedules and tools that guarantees someone is available to act.
Every signal you collect from logs, metrics and traces should land in exactly one of three places:
- Page: a human must act now, at any hour, or users will be hurt more. Pages interrupt sleep, so they must be rare and real.
- Ticket: a human must act within days. Slow error budget burn, a disk that will fill in 10 days, a certificate expiring in 21 days.
- Dashboard or log only: useful for diagnosis, nobody needs to be told. CPU, GC pauses, cache hit rate, pod restarts that self-heal.
The most common mistake is putting things in the first bucket that belong in the third.
How it works
Symptom alerts, not cause alerts
A symptom is what the user experiences: errors, slowness, stale data, a failed journey. A cause is something inside the system that might lead to a symptom: high CPU, a full queue, a dead replica. Page on symptoms. Use causes to diagnose once you are paged.
Why: a cause alert fires when there is no user impact (CPU at 90% with latency fine is a well utilised machine) and stays silent for failure modes nobody predicted (the expired certificate). A symptom alert on “payment success ratio” catches the certificate, the bad deploy, the provider outage and the bug nobody has thought of yet, with one rule.
The strongest symptom alerts are the burn-rate alerts on your SLOs. The design (two paging tiers, a ticket tier, long windows confirmed by short ones) is derived in SLIs, SLOs, SLAs and error budgets; here you only need to know that they page when a meaningful slice of error budget is gone and reset quickly after recovery.
There are a few cause alerts worth paging on, all of them about imminent, certain user impact that the symptom will reveal too late:
- Disk, quota or connection pool exhaustion predicted within hours (a linear prediction over the last 6 hours, not a static threshold).
- Loss of redundancy on a stateful system where the next failure is data loss (a single remaining replica).
- The monitoring pipeline itself is down (a “dead man’s switch” alert that fires when an always-firing heartbeat stops arriving).
Measuring alert quality: precision and recall
Treat your alert set like a classifier. The Google SRE Workbook evaluates alerts on four properties.
- Precision: of the pages that fired, what fraction were real, actionable problems. Low precision is alert fatigue.
- Recall: of the real problems, what fraction were caught by an alert. Low recall is “customers told us first”.
- Detection time: how long after impact starts the alert fires.
- Reset time: how long after recovery the alert stops firing.
These pull against each other. Lowering a threshold raises recall and detection speed and lowers precision. A longer window raises precision and slows detection. Burn-rate alerts are popular because they get a good balance on all four at once.
quadrantChart title Alert rules by precision and recall x-axis Low recall --> High recall y-axis Low precision --> High precision quadrant-1 Keep and page quadrant-2 Precise but narrow quadrant-3 Delete quadrant-4 Noisy, rework "SLO burn rate": [0.85, 0.88] "Cert expiry 21d": [0.3, 0.95] "HighCPU 80%": [0.2, 0.08] "Any 5xx for 1m": [0.75, 0.15] "Pod restarted": [0.15, 0.05]
Routing, grouping and escalation
Between the rule that fires and the phone that rings there is a routing layer. In the Prometheus world that is Alertmanager; commercial tools (PagerDuty, incident.io and others) provide the same functions plus schedules, escalation and phone delivery.
flowchart LR R["Alert rules<br/>Prometheus, Grafana,<br/>cloud monitors"] --> AM["Router<br/>group, dedupe,<br/>inhibit, silence"] AM -->|"severity=page"| OC["On-call tool<br/>schedule + escalation"] AM -->|"severity=ticket"| TK["Ticket queue"] AM -->|"info"| CH["Team chat channel"] OC --> P1["Primary<br/>ack within 5 min"] P1 -.->|"no ack"| P2["Secondary<br/>after 10 min"] P2 -.->|"no ack"| M["Engineering manager<br/>after 20 min"] style AM fill:#EEEDFE,stroke:#534AB7,color:#3C3489 style OC fill:#EEEDFE,stroke:#534AB7,color:#3C3489 style P1 fill:#E1F5EE,stroke:#0F6E56,color:#085041 style M fill:#FAEEDA,stroke:#854F0B,color:#633806
The functions that matter:
- Grouping: 300 pods failing the same check is one page, not 300. Group by service and alert name.
- Deduplication: the same alert re-firing every evaluation is one incident until it resolves.
- Inhibition: if the whole region is down, suppress the 40 per-service alerts that are consequences of it.
- Silences: planned maintenance mutes known alerts for a bounded time, with an owner and an expiry.
- Routing by ownership: the alert goes to the team that owns the service, read from labels, not to a shared “ops” queue.
- Escalation: if the primary does not acknowledge in N minutes, page the secondary, then a manager.
Runbooks
Every paging alert links to a runbook. A good runbook answers, in order:
- What does this alert mean for users, in one sentence?
- How do I confirm it is real (which dashboard, which query)?
- What are the safe first mitigations (roll back the last deploy, fail over, shed a traffic class, scale out)? Mitigation comes before diagnosis.
- Who do I escalate to, and when?
- Links to past incidents for this alert.
If a runbook step is “run these four commands”, the next step is to automate it. A runbook that is entirely mechanical means the alert should trigger automation, not a human.
On-call rotation design
A rotation is a staffing system, and it needs the same capacity planning as any other.
- Primary and secondary: primary takes pages; secondary is the escalation target and the extra pair of hands in a big incident.
- Follow-the-sun: with teams in two or three time zones, each covers its daytime (for example 12 hour handoffs between Europe and North America plus Asia-Pacific), so nobody is paged at night routinely. It costs clean handoffs: a written summary of open issues at every change.
- Shift length: one week is common. Shorter shifts increase handoffs; longer ones increase fatigue.
- Load limits: Google’s SRE book caps on-call at 25% of an engineer’s time and operational work overall at 50%, and argues that an incident properly handled (response, cleanup, postmortem) takes about 6 hours, so a 12 hour shift can absorb about 2 incidents. Above that, quality drops and toil grows.
- Rotation size: from the 25% rule, a single-site 24/7 rotation with primary and secondary needs at least 8 people; with two sites, at least 6 per site.
- Compensation: pay or time off in lieu for out-of-hours on-call is standard practice and in many countries a legal requirement. Being paged at 3 a.m. and expected at a 9 a.m. standup is not a schedule, it is a pattern of attrition.
- New joiners: shadow a full shift before going primary.
Reducing toil
Toil is manual, repetitive, automatable work that scales with traffic and leaves no lasting improvement: restarting the same stuck consumer, clearing the same disk, rotating the same credential by hand. Measure it (hours per shift, tagged by alert) and fund its removal. Every recurring page should end in one of three outcomes: the system is fixed so it cannot recur, the response is automated, or the alert is deleted because it was not needed.
The alert review ritual
Alert quality decays without a feedback loop. A weekly 30 minute review with the outgoing on-call:
- List every page from the week with its outcome: actionable, not actionable, duplicate, unknown.
- For each non-actionable page, decide delete, retune, demote to ticket or automate, and assign it.
- For each incident not caught by an alert, add or fix a symptom alert.
- Track precision, recall, pages per shift and out-of-hours pages per week as team metrics over time.
Where it breaks
Alert fatigue. When most pages are not actionable, people acknowledge without reading, and the real one gets the same treatment. Fatigue is a precision problem, and the fix is deleting alerts, not hiring more on-call.
Alerting on everything “just in case”. Each new rule feels free. The cost is paid in attention by whoever is on call, and it compounds.
Thresholds tuned once and never again. A latency threshold set at launch at 200 requests per second is wrong at 20,000. Burn-rate alerts age better because they are relative to the SLO.
Flapping. A value oscillating around a threshold fires and resolves every few minutes. Use for durations, hysteresis or burn-rate windows, not shorter evaluation intervals.
Broken escalation. The schedule has a gap at a handoff, the secondary is on holiday, or phone delivery fails silently. Test paging end to end regularly, the same way you test backups.
The heroic on-call. One person who knows everything answers every page, even off shift. It feels efficient and it is a single point of failure; spread knowledge through runbooks and shadowing.
Monitoring that shares fate with the system. If alerting runs in the same cluster or region as the service and that region fails, the alert never fires. Run at least the dead man’s switch and external probes from somewhere else.
Real-world systems
Prometheus Alertmanager handles grouping, inhibition, silences and routing for Prometheus and compatible rule engines. Grafana Alerting provides similar features inside Grafana.
PagerDuty is the long-standing commercial on-call and escalation platform. incident.io combines on-call scheduling with Slack-centred incident management. Other tools in the space include Rootly and FireHydrant.
Opsgenie is being retired by Atlassian: it stopped being sold on 4 June 2025 and reaches end of support on 5 April 2027, when access is shut off. Atlassian points customers to Jira Service Management or Compass. If you run Opsgenie today, the migration is a 2026 to early 2027 project.
Grafana OnCall OSS entered maintenance mode in March 2025 and was archived on 24 March 2026; Grafana’s supported path is Grafana Cloud IRM. Self-hosted users should not plan new deployments on the OSS version.
Most of these tools ingest alerts from any source by webhook, so the rule layer (Prometheus, cloud monitors, synthetic checkers) and the paging layer can be chosen separately.
How to apply it
| Signal | Page? | Instead |
|---|---|---|
| SLO fast or medium burn | Yes | - |
| SLO slow burn (1x over 3 days) | No | Ticket |
| Synthetic journey failing from 2 or more locations | Yes | - |
| Disk or quota full within 4 hours (predicted) | Yes | - |
| Certificate expires in 21 days | No | Ticket, and automate renewal |
| CPU, memory, GC, pod restarts | No | Dashboard |
| Single replica of a stateless service down | No | Dashboard, autoscaler handles it |
| Alerting pipeline heartbeat missing | Yes, from outside | - |
Checklist for every new paging alert:
- Does it describe user impact, or certain imminent impact?
- Would the on-call know what to do from the runbook alone?
- Can the response be automated instead?
- Does it route to the owning team?
- Has it been replayed against the last month of data to estimate pages per week?
Interview angle
Interview questions
Q1: Your team gets 80 pages a week and engineers are burning out. What do you do?
Measure first: tag every page from the last two to four weeks as actionable or not and compute precision, and list user-facing incidents to compute recall. Then delete or demote cause alerts that rarely need action (CPU, restarts) to dashboards, convert slow-moving issues to tickets, and replace threshold alerts on error rate and latency with SLO burn-rate alerts. Fix grouping and inhibition so one failure is one page. Add symptom coverage, such as synthetic probes, for any incident that was missed. Institute a weekly page review with owners for each fix, and track pages per shift as a team metric. Meanwhile check that the rotation is large enough and on-call is compensated.
Q2: Why page on symptoms rather than causes? Are there exceptions?
Symptoms map directly to user pain and catch unknown failure modes, so they have both high precision and high recall; causes fire without impact (busy but healthy machines) and miss failures nobody predicted. Exceptions are causes that make impact certain and imminent where the symptom would arrive too late to fix: storage or quota exhaustion predicted within hours, loss of the last redundant replica of a stateful system, and the monitoring pipeline being down. Those still page, but they are few.
Q3: Design an on-call rotation for a 10 person team in one time zone running a 24/7 service.
Weekly shifts with a primary and a secondary, so each person is primary about once every 10 weeks and secondary once every 10, which keeps on-call near 20% of time. Escalate primary to secondary after about 10 minutes without ack, then to the manager. Compensate out-of-hours time with pay or time off, and let the person who was paged overnight start late. Target fewer than 2 incidents per 12 hour shift; if exceeded, prioritise reliability work. New members shadow first. Handoffs include a written summary, and the outgoing primary runs the weekly page review. If the team later spans two regions, move to follow-the-sun to remove routine night pages.
✅ Key takeaways
- Every signal goes to one place: page, ticket or dashboard. Most belong on dashboards.
- Page on symptoms, ideally SLO burn rate, plus a small set of certain-impact causes and a dead man’s switch.
- Judge alerts by precision, recall, detection time and reset time; fatigue is a precision problem fixed by deleting alerts.
- Routing does grouping, deduplication, inhibition, silences and escalation; every page links to a runbook whose first steps are mitigations.
- Size rotations like capacity: about 25% of time on call, around 2 incidents per 12 hour shift at most, compensation, and a weekly review loop.
- Tooling is shifting: Opsgenie ends support in April 2027 and Grafana OnCall OSS was archived in March 2026.
🧠 Check your understanding
0 / 4-
1Last week 60 pages fired; 12 required action. There were 4 user-facing incidents; alerts caught 3. What are precision and recall?
Precision is actionable pages over all pages: 12/60 = 20%. Recall is incidents caught over all incidents: 3/4 = 75%. Swapping the two is the common mistake.
-
2Which of these should page a human at 3 a.m.?
Fast burn on a user-facing SLO is a symptom with real impact. High CPU without user impact is a dashboard item, and certificate expiry in 20 days is a ticket (and a reason to automate renewal).
-
3A region failure triggers 45 separate pages from every service in it. Which routing feature addresses this most directly?
Inhibition suppresses alerts that are consequences of a higher-level alert, and grouping merges similar alerts into one notification. Silences are for planned, known periods, not for unexpected cascades.
-
4Your team is on Opsgenie in late 2026. What is the accurate planning statement?
Atlassian ended Opsgenie sales on 4 June 2025 and support ends on 5 April 2027, with Jira Service Management or Compass as its suggested paths. The other options are invented.
Where to go next
- Incident response and postmortems: what happens after the page, from the first five minutes to the action items.
- SLIs, SLOs, SLAs and error budgets: the burn-rate math behind the alerts recommended here.
- Chaos engineering: test whether your alerts actually fire by injecting the failures they are meant to catch.
- Deployment strategies and feature flags: canaries with automated rollback turn many would-be pages into non-events.
Finished this lesson?
Mark it complete to track your progress across the roadmap.