Problem
Threshold alerts on raw error rate either page for harmless blips or detect real outages too slowly. Neither shows how much user-facing reliability is at stake.
Also known as: multi-window-burn-rate, slo-alerting
Alert on how fast the error budget is being consumed, using multiple windows to balance detection speed against false pages.
Threshold alerts on raw error rate either page for harmless blips or detect real outages too slowly. Neither shows how much user-facing reliability is at stake.
Burn-rate alerting, described in the Google SRE Workbook, asks a better question than a threshold: at the current rate of failure, how soon will the error budget run out? It links paging directly to SLO impact.
Burn rate is error ratio divided by the allowed error ratio (1 minus SLO). For a 99.9 percent SLO, a 1.44 percent error ratio is a burn rate of 14.4, which exhausts 2 percent of a 30-day budget in one hour.
Severity Burn rate Long window Short window Budget used
page 14.4 1h 5m 2 percent
page 6 6h 30m 5 percent
ticket 1 3d 6h 10 percent
alert when:
burn(long_window) above rate AND burn(short_window) above rate
The long window proves the problem is sustained and meaningful; the short window proves it is still happening, so the alert resets within minutes of a fix. Recording rules precompute error ratios for each window to keep queries cheap.
Low - recording rules
Medium - tune windows per service
Medium - concept needs teaching
Low-traffic service pages on a single failed request
Long-window rule never clears, leaving alerts firing after recovery
Windows copied without adjusting for a different SLO period