mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-26 16:12:20 +00:00
Fixes prometheus/alertmanager#1211 (#1214)
Add template to severity field for PagerDuty API v2.
This commit is contained in:
parent
62b957cc14
commit
94bef6419f
@ -506,7 +506,7 @@ func (n *PagerDuty) notifyV2(ctx context.Context, eventType, key string, tmpl fu
|
||||
payload = &pagerDutyPayload{
|
||||
Summary: tmpl(n.conf.Description),
|
||||
Source: tmpl(n.conf.Client),
|
||||
Severity: n.conf.Severity,
|
||||
Severity: tmpl(n.conf.Severity),
|
||||
CustomDetails: details,
|
||||
Component: n.conf.Component,
|
||||
Group: n.conf.Group,
|
||||
|
Loading…
Reference in New Issue
Block a user