Alertmanager
Alertmanager handles alerts generated by Prometheus. It manages the routing, grouping, and notification of alerts to various integrations such as email and webhooks.
Last updated
Was this helpful?
Alertmanager handles alerts generated by Prometheus. It manages the routing, grouping, and notification of alerts to various integrations such as email and webhooks.
Last updated
Was this helpful?
is responsible for handling alerts sent by client applications such as and then managing those alerts by grouping, deduplicating, routing, and sending them to various receiver integrations like email, webhook, , etc.
Key features of Alertmanager include:
Grouping: Similar alerts can be grouped together to avoid overwhelming the users with redundant notifications.
Inhibition: Prevents certain alerts from firing if another specific alert is already open. This helps prevent flooding with redundant notifications.
Silencing: Administrators can silence certain alerts during maintenance or in response to known issues, preventing unnecessary notifications.
Routing: Alerts can be routed to different destinations based on certain criteria, such as severity level, alert type, or specific attributes.
Silences are a way to mute alerts for a given time. Silences are configured in the web interface of Alertmanager.
The following is an example configuration file:
Do not load balance traffic between Prometheus and Alertmanager. Instead, point Prometheus to a list of all Alertmanagers.
Integration: Supports integration with various notification systems and channels like email, webhook, , etc.
Grouping categorizes alerts with a similar into a single notification. The group is configured by a routing tree in the .
Inhibition suppresses notifications for certain alerts if certain other alerts are already firing. Inhibitions are configured through the Alertmanager .
Alertmanager is configured via command-line flags and a configuration file (YAML format). The can be found in the official docs, and the can be used to help build route trees.
Notifications sent to receivers are constructed via . Alertmanager comes with default templates, but they can also be customized.
By default, Alertmanager starts in high availability mode. To configure the Alertmanager cluster, use the flags.