Docs: target_match and source_match are DEPRECATED (#2665)

* target_match and source_match are DEPRECATED

Signed-off-by: Dmitry Tolstoy <A-styler@ya.ru>
This commit is contained in:
Dmitry Tolstoy 2021-08-04 11:05:39 +03:00 committed by GitHub
parent 75932c7e40
commit 12dd20ced2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -149,10 +149,10 @@ route:
# We use this to mute any warning-level notifications if the same alert is
# already critical.
inhibit_rules:
- source_match:
severity: 'critical'
target_match:
severity: 'warning'
- source_matchers:
- severity="critical"
target_matchers:
- severity="warning"
# Apply inhibition if the alertname is the same.
# CAUTION:
# If all label names listed in `equal` are missing