Deleting 200 alerts and sleeping better
A client had 240 alert rules and a team that had stopped reading them. We deleted 209. Detection time improved. Here is the test we used to decide.
Alert fatigue is not caused by too many alerts in the abstract. It is caused by alerts that do not require action. Once a few of those exist, the team learns that acknowledging is cheaper than reading, and at that point every alert is degraded, including the important ones.
The test
If this fires at 3 a.m., is there something a human must do right now that cannot wait until morning?
Three possible answers, three destinations. Yes means it pages. No, but somebody should look tomorrow, means it becomes a ticket. No, and nobody would act on it, means it becomes a dashboard panel or gets deleted outright.
Where the 240 rules ended up.
Tied to user-facing SLOs.
Reviewed in business hours.
Nobody had acted on them in a year.
Doing it without losing coverage
The fear is always the same: we delete something and miss an outage. We ran the new rule set in shadow mode for four weeks alongside the old one, recording what each would have caught.
groups:
- name: checkout-slo
rules:
# Fast burn: 2% of a 28d budget in 1h -> page
- alert: CheckoutErrorBudgetFastBurn
expr: |
slo:checkout_availability:burnrate1h > 14.4
and
slo:checkout_availability:burnrate5m > 14.4
for: 2m
labels:
severity: page
annotations:
summary: Checkout burning error budget fast
runbook: https://runbooks.acme.dev/checkout-availability
first_step: kubectl -n checkout logs -l app=checkout --since=10m | grep -i 5
The two-window requirement
Notice the alert requires both a one-hour and a five-minute burn rate to be elevated. The long window establishes that a real problem exists; the short window confirms it is still happening. Without the second condition you keep paging about an incident that resolved itself forty minutes ago.
Results after a quarter
Before
- 240 rules, 41 pages per week
- Median acknowledgement 14 seconds, mostly reflexive
- Median detection 22 minutes
- Two engineers had asked to leave the rota
After
- 31 rules, 4 pages per week
- Pages are read before acknowledgement
- Median detection under 5 minutes
- Rota grew to nine people, voluntarily
Detection got faster with fewer alerts, which surprises people. It should not. When a page is rare, it gets attention. When it is constant, it becomes background noise, and noise is not a signal no matter how well tuned.