mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-27 08:32:15 +00:00
Template Source in PagerDuty alert payload (#1117)
* Template Source field in pagerduty payload As a sane default we link to alertmanager, but leave templating available to the user if something suits their system better.
This commit is contained in:
parent
55a40d1d3a
commit
3464ab4fa2
@ -501,7 +501,7 @@ func (n *PagerDuty) notifyV2(ctx context.Context, eventType, key string, tmpl fu
|
||||
if eventType == pagerDutyEventTrigger {
|
||||
payload = &pagerDutyPayload{
|
||||
Summary: tmpl(n.conf.Description),
|
||||
Source: n.conf.Client,
|
||||
Source: tmpl(n.conf.Client),
|
||||
Severity: n.conf.Severity,
|
||||
CustomDetails: details,
|
||||
Component: n.conf.Component,
|
||||
|
Loading…
Reference in New Issue
Block a user