Skip to content

Commit

Permalink
Fix matchers for Alertmanager routing rules
Browse files Browse the repository at this point in the history
The comparison only works if we use the "=~" operator to match
severities for alerts.
  • Loading branch information
clarissalimab committed Jul 27, 2023
1 parent 347d71e commit 2b8028e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/telemetry/modules/prometheus-workspace/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ locals {
receiver = name

matchers = [
"severity = ${name}"
"severity =~ ${name}"
]
}
]
Expand Down

0 comments on commit 2b8028e

Please sign in to comment.