Add `prometheus` alert rule for `exporter_proxy`.
This commit is contained in:
parent
5ed63d8ba1
commit
a5595f30f7
|
@ -63,3 +63,12 @@ groups:
|
||||||
annotations:
|
annotations:
|
||||||
summary: "vector-filestat_exporter is not running: {{ $labels.instance }}."
|
summary: "vector-filestat_exporter is not running: {{ $labels.instance }}."
|
||||||
description: "vector-filestat_exporter is not running: {{ $labels.instance }}."
|
description: "vector-filestat_exporter is not running: {{ $labels.instance }}."
|
||||||
|
|
||||||
|
- alert: exporter_proxy
|
||||||
|
expr: node_systemd_unit_state{name="exporter_proxy.service", state="active"} != 1
|
||||||
|
for: 5m
|
||||||
|
labels:
|
||||||
|
severity: error
|
||||||
|
annotations:
|
||||||
|
summary: "exporter_proxy is not running: {{ $labels.instance }}."
|
||||||
|
description: "exporter_proxy is not running: {{ $labels.instance }}."
|
||||||
|
|
Loading…
Reference in New Issue