diff --git a/README.md b/README.md index 3a84fb78..56d56521 100644 --- a/README.md +++ b/README.md @@ -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'] diff --git a/doc/examples/simple.yml b/doc/examples/simple.yml index 921e718e..8f0f4972 100644 --- a/doc/examples/simple.yml +++ b/doc/examples/simple.yml @@ -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']