Update alerting_rules.md (#7252)

Update `ALERTS` example be more meta-syntactic.

Signed-off-by: Justin Walz <justin.walz10@gmail.com>
pull/7023/head
Justin Walz 4 years ago committed by GitHub
parent c8ad79efdc
commit 808a14569d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -86,7 +86,7 @@ the "Alerts" tab of your Prometheus instance. This will show you the exact
label sets for which each defined alert is currently active. label sets for which each defined alert is currently active.
For pending and firing alerts, Prometheus also stores synthetic time series of For pending and firing alerts, Prometheus also stores synthetic time series of
the form `ALERTS{alertname="<alert name>", alertstate="pending|firing", <additional alert labels>}`. the form `ALERTS{alertname="<alert name>", alertstate="<pending or firing>", <additional alert labels>}`.
The sample value is set to `1` as long as the alert is in the indicated active The sample value is set to `1` as long as the alert is in the indicated active
(pending or firing) state, and the series is marked stale when this is no (pending or firing) state, and the series is marked stale when this is no
longer the case. longer the case.

Loading…
Cancel
Save