Templating of AlertManager alerts to PagerDuty

106 views
Skip to first unread message

David Derkach

unread,
Sep 6, 2024, 3:50:33 AM9/6/24
to Prometheus Users
Hello everybody,

I have pagerduty configured as a receiver in AlertManager configs. When alerts are firing and message appear in PagerDuty the title of alert is clear for reading. However, in alert summary I see just a bunch a labels. It makes hard to understand to which environment/workload alert is related.

So I want to show annotations.summary or annotations.message in PagerDuty column "Summary".

While in Slack config I see possibility to specify title and text parameters in receiver config, In pagerduty config it`s only description field.
image

So maybe someone know how to make a correct template in alertmanager so that I will see something more informative in Alert`s summary?

Thx in advance!
Reply all
Reply to author
Forward
0 new messages