Add `prometheus` alert rule for `exporter_proxy`.

This commit is contained in:
Kazuhiro MUSASHI 2023-02-10 21:52:36 +09:00
parent 5ed63d8ba1
commit a5595f30f7
1 changed files with 9 additions and 0 deletions

View File

@ -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 }}."