SRE & Observability (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)
Multi-Window Multi-Burn-Rate Alerting: The Google SRE mathematical formula.
senior LevelForms
In Simple Words: Traditional alerts (e.g. "Error rate > 1% for 5 mins") trigger noisy alerts for tiny blips and fail to alert on slow leaks that drain 100% of the monthly error budget:
- Burn Rate: The rate at which your service consumes its 30-day error budget ($1 imes$ burn rate consumes 100% of the budget in exactly 30 days):
- $14.4 imes$ Burn Rate (Consumes 2% budget in 1 hour): Page on-call engineer immediately (P1)! Requires a 1-hour short window and a 5-minute confirmation window.
- $6 imes$ Burn Rate (Consumes 5% budget in 6 hours): Page on-call engineer (P2).
- $1 imes$ Burn Rate (Consumes 10% budget in 3 days): File a non-urgent Jira ticket during business hours.
- Dual Window Requirement: Both the short window (e.g. 5 min) and long window (e.g. 1 hour) must be burning simultaneously, completely eliminating false positive pages!