From 12dd20ced2be04b385453b9cbff2fab3c8750ddc Mon Sep 17 00:00:00 2001 From: Dmitry Tolstoy <33700018+7olstoy@users.noreply.github.com> Date: Wed, 4 Aug 2021 11:05:39 +0300 Subject: [PATCH] Docs: target_match and source_match are DEPRECATED (#2665) * target_match and source_match are DEPRECATED Signed-off-by: Dmitry Tolstoy --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bb257442..ad48f91e 100644 --- a/README.md +++ b/README.md @@ -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