Commit 26665917 authored by Fabian Reinartz's avatar Fabian Reinartz

Add cross-links

parent de1643d0
...@@ -6,8 +6,9 @@ nav_icon: sliders ...@@ -6,8 +6,9 @@ nav_icon: sliders
# Alertmanager # Alertmanager
The Alertmanager handles alerts sent by client applications such as the The [Alertmanager](https://github.com/prometheus/alertmanager) handles alerts
Prometheus server. It takes care of deduplicating, grouping, and routing sent by client applications such as the Prometheus server.
It takes care of deduplicating, grouping, and routing
them to the correct receiver integration such as email, PagerDuty, or OpsGenie. them to the correct receiver integration such as email, PagerDuty, or OpsGenie.
It also takes care of silencing and inhibition of alerts. It also takes care of silencing and inhibition of alerts.
...@@ -59,3 +60,10 @@ matchers of an active silence. ...@@ -59,3 +60,10 @@ matchers of an active silence.
If they do, no notifications will be send out for that alert. If they do, no notifications will be send out for that alert.
Silences are configured in the web interface of the Alertmanager. Silences are configured in the web interface of the Alertmanager.
## Client behavior
The Alertmanager has [special requirements](../clients) for behavior of its
client. Those are only relevant for advanced use cases where Prometheus
is not used to send alerts.
\ No newline at end of file
...@@ -7,14 +7,12 @@ nav_icon: sliders ...@@ -7,14 +7,12 @@ nav_icon: sliders
# Alerting Overview # Alerting Overview
Alerting with Prometheus is separated into two parts. Alerting rules in Alerting with Prometheus is separated into two parts. Alerting rules in
Prometheus servers send alerts to an Alertmanager. The Alertmanager then Prometheus servers send alerts to an Alertmanager. The [Alertmanager](../alertmanager)
manages those alerts, including silencing, inhibition, aggregation and sending then manages those alerts, including silencing, inhibition, aggregation and
out notifications via methods such as email, PagerDuty and HipChat. sending out notifications via methods such as email, PagerDuty and HipChat.
**WARNING: The Alertmanager is still considered to be very experimental.**
The main steps to setting up alerting and notifications are: The main steps to setting up alerting and notifications are:
* Setup and configure the Alertmanager * Setup and [configure](../configuration) the Alertmanager
* Configure Prometheus to talk to the Alertmanager with the `-alertmanager.url` flag * Configure Prometheus to talk to the Alertmanager with the `-alertmanager.url` flag
* Create alerting rules in Prometheus * Create [alerting rules](../rules) in Prometheus
...@@ -20,9 +20,9 @@ Alerting rules are defined in the following syntax: ...@@ -20,9 +20,9 @@ Alerting rules are defined in the following syntax:
ALERT <alert name> ALERT <alert name>
IF <expression> IF <expression>
[FOR <duration>] [ FOR <duration> ]
[LABELS <label set>] [ LABELS <label set> ]
[ANNOTATIONS <label set>] [ ANNOTATIONS <label set> ]
The optional `FOR` clause causes Prometheus to wait for a certain duration The optional `FOR` clause causes Prometheus to wait for a certain duration
between first encountering a new expression output vector element (like an between first encountering a new expression output vector element (like an
...@@ -38,15 +38,17 @@ identifying for an alert instance. They are used to store longer additional ...@@ -38,15 +38,17 @@ identifying for an alert instance. They are used to store longer additional
information such as alert descriptions or runbook links. The annotation values information such as alert descriptions or runbook links. The annotation values
can be templated. can be templated.
#### v0.16.2 and earlier #### Prometheus v0.16.2 and earlier
In previous Prometheus versions the rule syntax is as follows: In previous Prometheus versions the rule syntax is as follows:
ALERT <alert name> ALERT <alert name>
IF <expression> IF <expression>
[FOR <duration>] [ FOR <duration> ]
[WITH <label set>] [ WITH <label set> ]
[ANNOTATIONS <label set>] SUMMARY <string>
DESCRIPTION <string>
[ RUNBOOK <string> ]
Annotations are not free form but fixed to a summary, a description, and a Annotations are not free form but fixed to a summary, a description, and a
runbook field. Labels are attached using the `WITH` rather than the `LABELS` runbook field. Labels are attached using the `WITH` rather than the `LABELS`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment