Skip to content

Commit

Permalink
scylla-monitoring: rule_config.yml.j2: add routes for string severities
Browse files Browse the repository at this point in the history
Since "prometheus.rules.yml: Use severity as string instead of numbers"
Alert Manager is going to use string severities values, like "warn", "error", etc.

However the same patch introduced a regression by inverting the severities:
scylladb/scylla-monitoring#2029

While we are waiting for a fix let's "hack" it so that things continue working.

Signed-off-by: Vlad Zolotarov <[email protected]>
  • Loading branch information
vladzcloudius committed Jul 22, 2023
1 parent 79a8e52 commit 9653157
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ansible-scylla-monitoring/templates/rule_config.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,9 @@ route:
- match:
severity: "3"
receiver: team-X-mails-urgent
- match:
severity: "info"
receiver: team-X-mails-urgent
- match:
severity: "warn"
receiver: team-X-mails-urgent

0 comments on commit 9653157

Please sign in to comment.