Interview Prep/SRE & Reliability/Burn-Rate Alerts & Alertmanager

The fast-burn alert expression `slo:sli_error:ratio_rate1h > X and slo:sli_error:ratio_rate5m > X` never returns results, even when both series exceed X.

AdvancedTroubleshootingBurn-Rate Alerts & Alertmanager
Answer

Likely causes → and matches on all labels. The 1h and 5m recording rules have different label sets (one has an extra route label or a different slo value), so no series pair matches.

Diagnose → Query both series and compare full label sets.

Fix → Make all window recording rules produce the same labels, or match explicitly:

slo:sli_error:ratio_rate1h > 0.0144 and on (slo) slo:sli_error:ratio_rate5m > 0.0144

Prevent → Generate all windows from one template so labels are identical; unit test the alert.

All SRE & Reliability questions

More on Burn-Rate Alerts & Alertmanager