Hello! I'm looking to forward specific alerts via the Webhook config and
can't find the best way to specify the specific alerts I want to match. For
the moment, the # of alerts is small enough that I can specify a route for
each alert individually
e.g.
routes:
- receiver: 'dest'
match:
alertname: A
- receiver: 'dest'
match:
alertname: B
...
But I'm assuming there's a better way to do so? Can you add multiple alerts
in the alertname field, separated by commas or some other divider? I think
I saw a "match_re" field that would let you do it via regex? And more
generally, is there something in the Alertmanager configuration
documentation
<https://www.prometheus.io/docs/alerting/latest/configuration/>that
specifies these options that I missed?
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/c2efd3d8-eed4-4b6b-b8cb-f1e21178f097n%40googlegroups.com.