What does the second, shorter window in a multi-window burn-rate alert do?
Sketch your own answer first, then compare it with the one below.
A strong answer
The long window decides whether the burn is large enough to matter. It averages away short blips, so the alert does not page for them. The short window checks that the burn is still happening now.
Without the short window, a long-window alert keeps firing for as long as the bad minutes stay in the window, long after the service has recovered. People are paged for a problem that is already over. The short window drops quickly when errors stop, so the alert clears soon after.
Requiring both gives fewer false alerts than a short window alone and faster resets than a long window alone. Real setups run several such pairs at different burn rates. The fastest page someone and the slowest only raise a ticket.
Sources
- Betsy Beyer, Niall Richard Murphy, David K. Rensin, Kent Kawahara, Stephen Thorne (2018). The Site Reliability Workbook, chapter: Alerting on SLOs.