Why does a burn-rate alert need a `for:` clause, and how long should it be?
IntermediateConceptError Budgets & Burn-Rate Alerting
Answer
for: requires the condition to hold across several evaluations before firing, which absorbs single-scrape glitches (a target restarting, a counter reset). Because the multi-window condition already filters noise, keep it short: 1 to 2 minutes for paging tiers, 5 to 15 minutes for ticket tiers. A long for: on top of a 1-hour window just adds detection delay.
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