Skip to content

Commit

Permalink
Docs: corrected deprecated syntax for severity matching (#766)
Browse files Browse the repository at this point in the history
* corrected deprecated syntax for severity matching

* Corrected indentation in alertmanager route for robusta
  • Loading branch information
k4kratik authored Mar 22, 2023
1 parent 10d84be commit 6694f12
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/user-guide/alert-manager.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ Below is an example AlertManager configuration. Depending on your setup, the exa
route:
routes:
- receiver: 'robusta'
match_re:
severity: 'info|warn|error|critical'
repeat_interval: 4h
continue: true
- receiver: 'robusta'
matchers:
- severity =~ "info|warn|error|critical"
repeat_interval: 4h
continue: true
.. admonition:: Common Mistakes

Expand Down Expand Up @@ -105,8 +105,8 @@ If AlertManager is located outside of your Kubernetes cluster then a few more st
route:
routes:
- receiver: 'robusta'
match_re:
severity: 'info|warn|error|critical'
matchers:
- severity =~ "info|warn|error|critical"
repeat_interval: 4h
continue: true
Expand Down

0 comments on commit 6694f12

Please sign in to comment.