mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -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)
|
links := make([]interface{}, 1)
|
||||||
linkJSON := simplejson.New()
|
linkJSON := simplejson.New()
|
||||||
linkJSON.Set("href", ruleUrl)
|
linkJSON.Set("href", ruleUrl)
|
||||||
|
bodyJSON.Set("client_url", ruleUrl)
|
||||||
|
bodyJSON.Set("client", "Grafana")
|
||||||
links[0] = linkJSON
|
links[0] = linkJSON
|
||||||
bodyJSON.Set("links", links)
|
bodyJSON.Set("links", links)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user