Troubleshooting
A rack power failure makes 40 servers fire an alert named HostDown, and the on-call engineer receives 40 separate emails. The team wants one notification per alertname and datacenter label that lists every affected host. Which Alertmanager route setting achieves this?
Show the answer
Correct answerD. group_by: ['alertname', 'datacenter']
group_by batches alerts that share the listed label values into one notification, so grouping on alertname and datacenter yields one message per datacenter. Grouping by instance is tempting, but it creates a separate group, and so a separate notification, for every host.