Interview Prep/Monitoring & Observability/On-Call Integration & Alert Fatigue

How do you make alert notifications more useful in the message body?

IntermediateProductionOn-Call Integration & Alert Fatigue
Answer

Use Alertmanager templates to include: what is affected (service, cluster, region), the impact in plain words, the current value, a link to the exact Grafana panel with the time range, the runbook, and how many alerts are in the group.

templates: ['/etc/alertmanager/templates/*.tmpl']
{{ define "slack.text" }}{{ range .Alerts.Firing }}• {{ .Annotations.summary }} ({{ .Labels.cluster }})
  value={{ .Annotations.value }} <{{ .Annotations.dashboard_url }}|dashboard> <{{ .Annotations.runbook_url }}|runbook>
{{ end }}{{ end }}

Grafana dashboard links with ?var-service=...&from=now-1h save the responder a minute of clicking.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on On-Call Integration & Alert Fatigue