Alerting without 3am pages: thresholds that make sense
Alert systems fail in two directions: so noisy that every page is ignored, or so quiet that real incidents arrive as user reports. The fix is not fewer alerts or more thresholds — it is severity design: matching alert tiers to consequences, using burn windows to filter noise, and reserving three-in-the-morning pages for the few conditions that truly cannot wait. An alert that does not earn attention is a bug in the alerting, not in the node.
The severity model
- Page tier: consequence within minutes. Conditions that break user-facing service or risk data: node process death, sync stall beyond the recovery window, disk exhaustion inside the response window, consensus-participation failure. Pages wake people because waiting makes things worse.
- Ticket tier: consequence within hours. Conditions that degrade service or predict future trouble: peer count dipping, memory pressure climbing, log error rates rising, inventory or capacity warnings. These get investigated in business hours with full context.
- Log tier: record only. Conditions worth knowing after the fact: brief spikes, recovered anomalies, informational state changes. No human sees these in real time; they exist for post-incident review.
- The rule: every alert names its tier, and the tier matches the consequence speed — not the metric's scariness.
Burn windows: the noise filter
- Require persistence. An alert fires only when a condition holds for a defined window: one minute for pages, longer for tickets. Momentary spikes — garbage-collection pauses, brief congestion — stop generating pages without hiding real problems.
- Multi-window patterns. The strongest burn setups require both a short window and a long window to agree: fast detection for real emergencies, slow confirmation for everything else.
- Tune against real incidents. Review every page: was it a real emergency? If not, the threshold or the window was wrong. Alert quality is a calibration process, not a one-time configuration.
The three-in-the-morning test
Before an alert earns page status, it must pass three questions:
- Does waiting make it worse? If the condition can wait for morning, it is a ticket.
- Is there an action only a human can take at night? If the runbook says wait, do not page.
- Would the on-call trust it? An engineer who has been woken by a false page stops trusting real ones. Protect the trust budget like the scarce resource it is.
The escalation path
- Ack or escalate. Pages escalate until acknowledged; unacked pages mean the on-call is unreachable, which is itself an incident.
- Runbook attached. Every page carries the diagnosis path: what to check, what to do, when to escalate further. Three-in-the-morning reasoning should be transcription, not invention.
- Post-incident alert review. After every incident: did the alerting predict it, miss it, or noise it out? The alerting system improves or decays with every incident.
The takeaway
Alerting without three-in-the-morning pages is severity design: page only for consequences measured in minutes, ticket for consequences measured in hours, log the rest — with burn windows filtering noise and every page carrying a runbook. Calibrate against real incidents, protect the trust budget, and review the alerting after every event. The goal is not silence; it is that every page deserves to wake someone.