ARQ Português

SRE // Volume 4 of the series

300 alerts a week and none when it mattered: rebuilding alerts from your SLOs

By André Romão Quinhoneiro · All articles

Picture a team that gets about 300 alerts a week. On Black Friday, a critical service falls six hours behind and... no alert fires.

Both facts are the same problem seen from opposite sides: alerts warn about what doesn't matter and stay silent about what does. On-call engineers quickly learn to ignore alerts that ask for nothing, and after a few weeks they stop reading the ones that do. It has a name: alert fatigue.

This post summarizes chapter 4 of SRE and Reliability Engineering, from the From Journey to Practice series.

Three questions for a good alert

An alert that interrupts a person is only justified if the answer to all three is "yes":

  1. Is it urgent? If nobody acts now, will users be affected in a meaningful way?
  2. Is it actionable? Is there something the person can do?
  3. Is it real? Is the chance of a false alarm low?

If any answer is "no", it shouldn't wake anyone up. It can become a ticket, a dashboard chart, or nothing.

In the book's fictional case, the team classified one week's 300 alerts: 41% were CPU above 80% for five minutes, 23% were health checks that recovered on their own, 18% were queues that drained on their own. Only 7% asked for any action.

Page on symptoms, not causes

Aspect Symptom alert Cause alert
Says users are affected Yes Not always
Covers causes nobody predicted Yes No
How many Few Many
Noise risk Low, if well calibrated High

A symptom is what the user feels ("updates are more than 15 minutes late"). A cause is something that may lead to a symptom ("database CPU at 90%"). Cause alerts only go to on-call when they reliably predict a serious symptom, like a disk that will fill up in a few hours.

Three destinations, not one

  • On-call page: users are affected now and someone needs to act.
  • Ticket queue: needs attention, but can wait for the next business day (a certificate expiring in seven days).
  • Dashboard or report: useful for diagnosis, no immediate action (CPU, memory, task count).

Burn-rate alerts with two windows

A good symptom alert is built on the error budget burn rate: how fast the budget is being spent compared with the sustainable pace. It comes already calibrated by the SLO.

A single window has two problems: a long one is slow to fire and slow to clear; a short one fires on every spike. The fix is two windows per alert: the long one confirms the consumption is significant, the short one confirms it is still happening. A common starting point for a 99.9% SLO over about 28 days:

Severity Budget consumed Long window Short window Burn rate Destination
High 2% in 1 hour 1 hour 5 minutes 14.4 Page
High 5% in 6 hours 6 hours 30 minutes 6 Page
Medium 10% in 3 days 3 days 6 hours 1 Ticket

For low-traffic services, a few failures move the rate a lot. In that case, add a synthetic probe or require a minimum number of events in the window.

The alert must explain itself in seconds

[HIGH] tracking-api: availability budget burning at 21x
What:     2.1% of requests failing in the last hour (SLO allows 0.1%).
Impact:   all stores; tracking requests returning 5xx.
Since:    02:47. Last deploy: 02:31, version 4.18.0.
Budget:   61% consumed in the 28-day window.
Runbook:  RB-API-01: check recent deploy, DB connections, errors per route.
Owner:    Tracking team on-call.

Rule of thumb: every paging alert has a runbook. If "every case is different", the alert is probably cause-based, or not actionable.

Weekly review

At on-call handover, for each alert of the week: did it ask for action? Could the action be automated? Did it arrive in time? Did the runbook help? Was there a problem with no alert? And track one metric above all: incidents found by users before the alert, which should trend to zero.

In the book's scenario, after two months of weekly reviews the team went from 300 alerts a week to 9 pages and about 20 tickets, and the share of pages that needed action rose from 7% to over 80%.


The full path, from SLIs and SLOs to incidents, post-mortems and resilience, with labs, is in SRE and Reliability Engineering, volume 4 of the From Journey to Practice series: https://andreromao.com.br/livros/sre-engenharia-confiabilidade

How many of the alerts that paged your team last week actually needed someone to do something?

This post summarizes a chapter of SRE and Reliability Engineering, volume 4 of the From Journey to Practice series.