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: image] 
<https://private-user-images.githubusercontent.com/77398874/364845448-f7e325b5-476b-400e-856f-d9482343bad4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2MDczNzMsIm5iZiI6MTcyNTYwNzA3MywicGF0aCI6Ii83NzM5ODg3NC8zNjQ4NDU0NDgtZjdlMzI1YjUtNDc2Yi00MDBlLTg1NmYtZDk0ODIzNDNiYWQ0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDA3MTc1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAzOTc1ZDRhYmFmZGNkMjE5MjE5YTQ4MjVjMjNkMmYxOTVkNzYzZWRjM2E5M2RiNDE0YWQ3NmRiZDFmOGI2MmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.oyNFrZnUQ2T0KJQX-3nrgGJfcnW98CM1yDQV4JTVa_4>

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!

-- 
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/cdd6f414-1a28-47a8-a894-7805982b33ean%40googlegroups.com.

Reply via email to