Skip to content

Commit

Permalink
fix: add routes berfore match_re
Browse files Browse the repository at this point in the history
When i configuring alertmanager vars, the absence of 'routes' in front of '- match_re' has caused confusion and errors.

Signed-off-by: Berny Linville <bernylinville@devopsthink.org>
  • Loading branch information
bernylinville authored Aug 17, 2023
1 parent 88f7a46 commit b82d203
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/alertmanager/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ alertmanager_route: {}
# receiver: slack
# # This routes performs a regular expression match on alert labels to
# # catch alerts that are related to a list of services.
# routes:
# - match_re:
# service: ^(foo1|foo2|baz)$
# receiver: team-X-mails
Expand Down

0 comments on commit b82d203

Please sign in to comment.