mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-16 18:47:10 +00:00
Merge pull request #90 from prometheus/pushover-priority
Set Pushover notification priority to "emergency".
This commit is contained in:
commit
b7919b338b
@ -567,8 +567,9 @@ func (n *notifier) sendPushoverNotification(token string, op notificationOp, use
|
||||
|
||||
// Send pushover message
|
||||
_, _, err = po.Push(&pushover.Message{
|
||||
Title: fmt.Sprintf("%s: %s", alertname, status),
|
||||
Message: a.Summary,
|
||||
Title: fmt.Sprintf("%s: %s", alertname, status),
|
||||
Message: a.Summary,
|
||||
Priority: pushover.Emergency,
|
||||
})
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user