How much budget does an alert at burn rate B over window W consume?
AdvancedConceptError Budgets & Burn-Rate Alerting
Answer
budget consumed = B x W / SLO period
For a 30-day (720-hour) SLO:
| Burn rate | Long window | Budget consumed when it fires |
|---|---|---|
| 14.4 | 1 h | 14.4 x 1 / 720 = 2% |
| 6 | 6 h | 6 x 6 / 720 = 5% |
| 3 | 1 d | 3 x 24 / 720 = 10% |
| 1 | 3 d | 1 x 72 / 720 = 10% |
The thresholds are chosen backwards from "page me when 2% of the monthly budget burned in an hour", which is significant but not yet a disaster.
More on Error Budgets & Burn-Rate Alerting
What is an error budget and how do you calculate it?BeginnerWhat is an error-budget policy?BeginnerWhat happens when the error budget is exhausted? Is it a punishment?IntermediateWhat should you do if the error budget is never spent?IntermediateWhat is burn rate?IntermediateWhy is alerting on a raw error-rate threshold ("5xx > 1% for 5 minutes") a bad idea?Intermediate