Alertmanager is the notification layer for Prometheus alerting. Prometheus evaluates PromQL alert conditions and sends firing alerts to the Alertmanager API, which processes them before delivery. section 7.2.1
Alertmanager reduces operational noise by handling several notification tasks:
- Deduplicates repeated alerts and groups related alerts into concise notifications. section 7.2.1
- Routes alerts through policies, such as sending work-hour notifications to Slack and after-hours notifications by text message. section 7.2.1
- Suppresses notifications when appropriate and delivers them through configured receivers, including webhooks or email. section 7.2.1 section 7.4
Prometheus to webhook
A Prometheus rule fires when API requests exceed 40 and labels the alert critical. Prometheus sends it to Alertmanager, whose route groups alerts by environment and forwards them to a configured webhook. A Docker Compose setup can run Prometheus, Alertmanager, and a webhook endpoint together. section 7.2.1
Use the architecture diagram to follow the path from scraped metrics and Prometheus rules through Alertmanager to operator notifications. section 7.2.1


