feat(monitoring): add deadman severity and ignore it for alertmanager
This commit is contained in:
@@ -7,6 +7,8 @@ route:
|
|||||||
group_wait: 30s
|
group_wait: 30s
|
||||||
group_interval: 5m
|
group_interval: 5m
|
||||||
repeat_interval: 12h
|
repeat_interval: 12h
|
||||||
|
matchers:
|
||||||
|
- severity!~"deadman"
|
||||||
# routes:
|
# routes:
|
||||||
# - receiver: "pagerduty"
|
# - receiver: "pagerduty"
|
||||||
receivers:
|
receivers:
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ groups:
|
|||||||
expr: 'vector(1)'
|
expr: 'vector(1)'
|
||||||
for: 0m
|
for: 0m
|
||||||
labels:
|
labels:
|
||||||
severity: critical
|
severity: deadman
|
||||||
annotations:
|
annotations:
|
||||||
summary: Prometheus AlertManager E2E dead man switch (instance {{ $labels.instance }})
|
summary: Prometheus AlertManager E2E dead man switch (instance {{ $labels.instance }})
|
||||||
description: "Prometheus DeadManSwitch is an always-firing alert. It's used as an end-to-end test of Prometheus through the Alertmanager.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
description: "Prometheus DeadManSwitch is an always-firing alert. It's used as an end-to-end test of Prometheus through the Alertmanager.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user