What is the right `group_by`, `group_wait`, `group_interval` and `repeat_interval` strategy?
IntermediateProductionAlerting Strategy, SLOs & Runbooks
Answer
group_by: [alertname, cluster, service]: one notification per problem per service, not per pod.group_wait: 30s: wait briefly so related alerts arrive in one message.group_interval: 5m: how often to send updates when new alerts join a group.repeat_interval: 4hfor pages (the incident tool handles re-notification),24hfor tickets.
Grouping by instance or pod is the most common cause of notification storms. Use group_by: ['...'] only for receivers that really want every alert separately.
More on Alerting Strategy, SLOs & Runbooks
What is the single most important rule for deciding whether an alert should page a human?BeginnerWhat severity levels do you define, and where does each one go?BeginnerWhy do mature teams alert on SLO burn rate instead of raw error rate thresholds?IntermediateIn a multi-window burn-rate alert, what is the short window for?AdvancedHow do you generate SLO alert rules without hand-writing dozens of burn-rate expressions?IntermediateHow do you pick an SLO target for a service that has never had one?Beginner