INCIDENT TIMELINECHECKOUTALERTversionv1errors0.05%burn@page--ICPOSTMORTEMOPSSTATUSCOMMS1SLO = 0.9992def burn(errors, total):3 return errors / total / (1 - SLO)4page = burn(1775, 120_000) >= 14.4broke--paged--fixed--closed--
Blocks: the service, the alert and the people who respondFront: the alert rule as Python, and the incident timelineToken: a message (the page, an update, the rollback)One incident, end to end. A bad release makes 2.5% of checkout requests fail; a burn-rate alert on the 99.9% SLO pages the on-call engineer at 14:35. She declares an incident and takes command, a comms lead updates the status page, and the ops lead rolls the release back. Errors fall back by 14:47. In front, the alert rule in Python and the incident timeline the blameless postmortem learns from. The checkout service, its traffic (a steady 2,000 requests a minute) and the clock times are invented for teaching; the burn-rate sums follow from those numbers exactly.

The idea

  1. An incident is an unplanned problem that hurts users, or soon will. Incident response is how a team gets the service working again fast, then learns from it. Follow one: a bad release of a shop's checkout service.

Something breaks

Respond

Learn

What happens

;; step 1/11 · incident
incident = unplanned, hurts users (or will)

respond   detect → page → take command
          → mitigate → recover
learn     postmortem → action items

goal: restore service first, learn second

The checkout service, its traffic (a steady 2,000 requests a minute) and the clock times are invented for teaching; the burn-rate sums follow from those numbers exactly. The SRE workbook pairs the 1-hour window with a 5-minute short window: it pages only when both burn at 14.4 or more, so the page also stops about five minutes after the errors stop. The code card shows the long window only.