What is detection time for a burn-rate alert, and how do you estimate it?
AdvancedConceptError Budgets & Burn-Rate Alerting
Answer
For a full outage (100% errors) and a 99.9% SLO, the 1h window ratio reaches the 1.44% threshold after 0.0144 x 60 = 0.86 minutes, so the alert condition holds in under a minute, plus the for duration and scrape/eval intervals. For a smaller incident at error ratio e, the time is roughly threshold / e x window:
e = 5%: 0.0144 / 0.05 x 60 min ≈ 17 minutes to trigger the 1h/14.4 page
e = 2%: 0.0144 / 0.02 x 60 min ≈ 43 minutes
Big outages are detected fast; small ones take longer, which is correct because they burn budget slowly.
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?IntermediateHow much budget does an alert at burn rate B over window W consume?Advanced