Merge pull request #90 from prometheus/pushover-priority

Set Pushover notification priority to "emergency".
This commit is contained in:
Julius Volz 2015-07-09 00:10:01 -06:00
commit b7919b338b

View File

@ -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
}