Alertmanager > routes > match_re > CAN we Trigger Alert if any match_re condition matches?
I have two kinds of alerts;
- 1st one has namespace label but doesn't team_tag label
- 2nd one has team_tag label but doesn't have namespace label
I want to catch both kinds of alerts in ONE receiver. The below route is just for one team like this we have N teams.
Thought possible solution
- I can add two receivers pointing to same the same endpoint(slack channel/teams/email...) and use them to check separately once for namespace and once for team_tag. But this will result in duplication.
- I can maybe use alert_relabel_configs on the Prometheus side to inject dummy values either when namespace or team_tag is missing and append that dummy value to in above regex. But this will increase complexity on others.