Skip to content
Snippets Groups Projects
Verified Commit ca0ce66b authored by Vincent Sellier's avatar Vincent Sellier
Browse files

cluster-components: Invert the alertmanager alert routing logic

As only the alert matching a specific namespace are routed to the irc-relay
today, sending them to the irc relay is acceptable.
We need to remove this constraint to be able to receive global cluster
alerts like the one relative to the cluster status.
If the contraint is remove the irc relay is spammed with the Watchdog
alert. The logic need to be inverted to send all the alerts we only
want to the irc-relay

Related to swh/infra/sysadm-environment#5036
and swh/infra/sysadm-environment#5281
parent fa424f39
No related branches found
No related tags found
1 merge request!362cluster-components: Invert the alertmanager alert routing logic
......@@ -11,7 +11,7 @@ spec:
groupWait: 31s
groupInterval: 120s
repeatInterval: 12h
receiver: ircrelay
receiver: "null"
continue: true
routes:
- receiver: "null"
......@@ -19,7 +19,8 @@ spec:
matchers:
- name: "alertname"
regex: true
value: "InfoInhibitor"
value: "InfoInhibitor|Watchdog"
- receiver: ircrelay
receivers:
- name: "null"
- name: ircrelay
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment