1
0
mirror of https://github.com/prometheus/alertmanager.git synced 2026-02-05 15:45:34 +01:00

Add warning that inhibition occurs on missing equal (#2214)

Signed-off-by: Dominik <dominik-k@mailbox.org>
This commit is contained in:
Dominik-K
2020-03-27 16:20:19 +01:00
committed by GitHub
parent 0c0c6bdb01
commit f8ffc2a18a
2 changed files with 8 additions and 0 deletions

View File

@@ -148,6 +148,10 @@ inhibit_rules:
target_match:
severity: 'warning'
# Apply inhibition if the alertname is the same.
# CAUTION:
# If all label names listed in `equal` are missing
# from both the source and target alerts,
# the inhibition rule will apply!
equal: ['alertname']

View File

@@ -97,6 +97,10 @@ inhibit_rules:
target_match:
severity: 'warning'
# Apply inhibition if the alertname is the same.
# CAUTION:
# If all label names listed in `equal` are missing
# from both the source and target alerts,
# the inhibition rule will apply!
equal: ['alertname', 'cluster', 'service']