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:
@@ -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']
|
||||
|
||||
|
||||
|
||||
@@ -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']
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user