What do `group_by`, `group_wait`, `group_interval` and `repeat_interval` control?
IntermediateConceptAlertmanager & Alerting
Answer
group_by: labels that define a group; alerts with the same values are batched into one notification.[...]groups by all labels (disables grouping).group_wait(default 30s): wait before the first notification of a new group, to collect related alerts.group_interval(default 5m): wait before notifying about new alerts added to an existing group.repeat_interval(default 4h): resend a still-firing group with no changes.
More on Alertmanager & Alerting
What does Alertmanager do that Prometheus does not?BeginnerExplain the Alertmanager routing tree.IntermediateWhat is inhibition? Give an example.IntermediateWhat are silences and how do you create them?BeginnerWhat are mute time intervals and active time intervals?IntermediateHow does Alertmanager clustering work?Advanced