Alertmaanger tempalte for Pagerduty

114 views
Skip to first unread message

David Derkach

unread,
Sep 6, 2024, 3:50:36 AM9/6/24
to Prometheus Users

Hello community,

I have a necessity to configure alertmanager template to sent alerts notification to Pagerduty. In "alert title" field in pagerduty i see everything correct as defined in default template: https://github.com/prometheus/alertmanager/blob/main/template/default.tmpl
However, by only title its hard to understand to which component/environment the alert is related.

So i would like to add some additional information to "Summary" field in pagerduty like annotations.summary or annotations.message.
But in documentation I see that its only possible to specify description into templates:
image

As I understand correct "description" correspond to "ALert Title" in Pagerduty, but how to customize another columns like "summary" so that it will be more informative from which source/workload the alert came from?

Thanks in advance!

Reply all
Reply to author
Forward
0 new messages