Commit 5549d865 by utkarshcmu

Fixed description message

parent f8d1eb11
...@@ -43,7 +43,7 @@ func (this *PagerdutyNotifier) Notify(evalContext *alerting.EvalContext) error { ...@@ -43,7 +43,7 @@ func (this *PagerdutyNotifier) Notify(evalContext *alerting.EvalContext) error {
bodyJSON := simplejson.New() bodyJSON := simplejson.New()
bodyJSON.Set("service_key", this.Key) bodyJSON.Set("service_key", this.Key)
bodyJSON.Set("description", evalContext.Rule.Name+"-"+evalContext.Rule.Message) bodyJSON.Set("description", evalContext.Rule.Name + " - " + evalContext.Rule.Message)
bodyJSON.Set("client", "Grafana") bodyJSON.Set("client", "Grafana")
bodyJSON.Set("event_type", "trigger") bodyJSON.Set("event_type", "trigger")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment