commit | c12b48a54e8b2f03f41fcf741c7fedc6d5bf7eed | [log] [tgz] |
---|---|---|
author | Michal Kobus <mkobus@mirantis.com> | Fri Apr 13 19:09:17 2018 +0200 |
committer | mkobus <mkobus@mirantis.com> | Wed Apr 18 09:30:05 2018 +0000 |
tree | ef29457c5c66aca0d030caa0690217c90c9078e8 | |
parent | a3d4e84e927f83d3e6d8edd6a4f27f0f14cbd1eb [diff] [blame] |
Add filtering for notification receivers Set default filtering regexes for email, slack and pushkin. Set param prometheus_server_alert_label_route to include all current receivers. PROD-18981 Change-Id: Ia58914db427bf3249ae12d7bf02f4dd36bb277dc
diff --git a/prometheus/alertmanager/notification/slack.yml b/prometheus/alertmanager/notification/slack.yml index 412e91f..a86c403 100644 --- a/prometheus/alertmanager/notification/slack.yml +++ b/prometheus/alertmanager/notification/slack.yml
@@ -7,6 +7,9 @@ routes: slack: receiver: HTTP-slack + match_re: + - label: route + value: '(.*slack.*)' continue: true receiver: HTTP-slack: