Why should `group_by` usually include `alertname` and a location label?
IntermediateConceptAlertmanager & Alerting
Answer
Grouping by [alertname, cluster] means a node failure that triggers KubePodNotReady for 30 pods sends one notification listing 30 pods, instead of 30 pages. Grouping by too little ([], single group) merges unrelated incidents into one message; grouping by too much ([...]) sends one notification per alert.
Choose labels that represent "one thing a human will fix at once".
More on Alertmanager & Alerting
What does Alertmanager do that Prometheus does not?BeginnerExplain the Alertmanager routing tree.IntermediateWhat do `group_by`, `group_wait`, `group_interval` and `repeat_interval` control?IntermediateWhat is inhibition? Give an example.IntermediateWhat are silences and how do you create them?BeginnerWhat are mute time intervals and active time intervals?Intermediate