diff --git a/pkg/services/alerting/notifiers/pushover.go b/pkg/services/alerting/notifiers/pushover.go index c68ad421c62..7a2297f9e89 100644 --- a/pkg/services/alerting/notifiers/pushover.go +++ b/pkg/services/alerting/notifiers/pushover.go @@ -139,8 +139,12 @@ func (this *PushoverNotifier) Notify(evalContext *alerting.EvalContext) error { } } if evalContext.Error != nil { - message += fmt.Sprintf("\nError message %s", evalContext.Error.Error()) + message += fmt.Sprintf("\nError message: %s", evalContext.Error.Error()) } + if evalContext.ImagePublicUrl != "" { + message += fmt.Sprintf("\nShow graph image", evalContext.ImagePublicUrl) + } + q := url.Values{} q.Add("user", this.UserKey) q.Add("token", this.ApiToken)