Add warning that inhibition occurs on missing `equal` (#2214)
Signed-off-by: Dominik <dominik-k@mailbox.org>
This commit is contained in:
parent
0c0c6bdb01
commit
f8ffc2a18a
|
@ -148,6 +148,10 @@ inhibit_rules:
|
||||||
target_match:
|
target_match:
|
||||||
severity: 'warning'
|
severity: 'warning'
|
||||||
# Apply inhibition if the alertname is the same.
|
# 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']
|
equal: ['alertname']
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -97,6 +97,10 @@ inhibit_rules:
|
||||||
target_match:
|
target_match:
|
||||||
severity: 'warning'
|
severity: 'warning'
|
||||||
# Apply inhibition if the alertname is the same.
|
# 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']
|
equal: ['alertname', 'cluster', 'service']
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue