I need to route the alert to dev-receiver if it has the label dbinstance_identifier: '^(dev-db)$' or namespace: '^(dev)$. I don't think the below one works as the bottom one may override the top one. Can I put some or operator b/w two labels or something? Thanks in advance.
-receiver: 'dev-receiver'
match_re:
dbinstance_identifier: '^(dev-db)$'
- receiver: 'dev-receiver'
match_re:
namespace: '^(dev)$
match_re
andmatch
are deprecated in newer version. Usematchers
instead as follows:You can use
continue: true
as stated in the comment of your question.