Commit c5fb1f84 authored by beorn7's avatar beorn7

Update self-inhibition prevention docs for AM v0.17

Please only merge once v0.17 is actually released.
Signed-off-by: 's avatarbeorn7 <beorn@soundcloud.com>
parent f52efea5
...@@ -200,11 +200,11 @@ Semantically, a missing label and a label with an empty value are the same ...@@ -200,11 +200,11 @@ Semantically, a missing label and a label with an empty value are the same
thing. Therefore, if all the label names listed in `equal` are missing from thing. Therefore, if all the label names listed in `equal` are missing from
both the source and target alerts, the inhibition rule will apply. both the source and target alerts, the inhibition rule will apply.
To prevent an alert from inhibiting itself, an inhibition rule will never To prevent an alert from inhibiting itself, an alert that matches _both_ the
inhibit an alert that matches _both_ the target and the source side of the target and the source side of a rule cannot be inhibited by alerts for which
rule. However, we recommend to choose target and source matchers in a way that the same is true (including itself). However, we recommend to choose target and
alerts never match both sides. It is much easier to reason about and does not source matchers in a way that alerts never match both sides. It is much easier
trigger this special case. to reason about and does not trigger this special case.
```yaml ```yaml
# Matchers that have to be fulfilled in the alerts to be muted. # Matchers that have to be fulfilled in the alerts to be muted.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment