mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 01:16:31 -06:00
alerting: adds back the link to grafana.
This commit is contained in:
parent
aba6f627c5
commit
87bc60b9d7
@ -111,6 +111,8 @@ func (this *PagerdutyNotifier) Notify(evalContext *alerting.EvalContext) error {
|
||||
links := make([]interface{}, 1)
|
||||
linkJSON := simplejson.New()
|
||||
linkJSON.Set("href", ruleUrl)
|
||||
bodyJSON.Set("client_url", ruleUrl)
|
||||
bodyJSON.Set("client", "Grafana")
|
||||
links[0] = linkJSON
|
||||
bodyJSON.Set("links", links)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user