On 26/09/2022 12:02, Brian Candler wrote:
> When, I have multiple alerts for the same route with same severity, all ended up in pagerduty as expected

Yes, because these are separate alerts that are not grouped together.

> But, when I have alerts triggered for the same instance with different severity, then I have only one (may be also the first alert) sent to pagerduty

But you said you've told alertmanager to group on "instance", so that's what it will do: all alerts for the same instance (i.e. with the same value of the 'instance' label) will be delivered in a single message.  Whether the *body* of the pagerduty message shows those individual alerts, depends on how you've configured things.

You might want to show your alertmanager pagerduty_config <https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config>, and also your alert grouping config.

In general if you are sending alerts through to an external incident management system (PagerDuty, OpsGenie, JIRA, etc.) you are probably best not doing any grouping at all:

|group_by: ['...']|

--
Stuart Clark

--
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/f3618026-bfd9-7a42-ac99-7fe07b01e39a%40Jahingo.com.

Reply via email to