What is the use of AlertManager templates ?.

15 views
Skip to first unread message

Abdul Rahuman Seeni Mohamed

unread,
May 12, 2020, 2:53:24 AM5/12/20
to Prometheus Users
Hi,
   I have the requirement to modify data of alert by creating templates (overriding default.tmpl) in alertManager.

I have few questions about template in AlertManaer,
 What is the use of AlertManager?.
 Can we modify data of alert by creating new template and overriding default.tmpl ?.
 In which are the following alert configuration, this alert will work
    does creating template work with "webhook" configuration?

Brian Candler

unread,
May 12, 2020, 4:12:03 AM5/12/20
to Prometheus Users
Templates can be used wherever you see "tmpl_string" in the configuration documentation.

Webhooks do not support templates - the format of the JSON they send is fixed.
Reply all
Reply to author
Forward
0 new messages