feat(alerting): list all series in alert email

This commit is contained in:
bergquist
2016-08-13 12:13:32 +02:00
parent c4e905474a
commit fb7a6c0764
4 changed files with 89 additions and 7 deletions

View File

@@ -55,9 +55,11 @@ func (this *EmailNotifier) Notify(context *alerting.EvalContext) {
"Name": context.Rule.Name,
"Severity": context.Rule.Severity,
"SeverityColor": context.GetColor(),
"Message": context.Rule.Message,
"RuleUrl": ruleUrl,
"ImageLink": context.ImagePublicUrl,
"AlertPageUrl": setting.AppUrl + "alerting",
"Events": context.Events,
},
To: this.Addresses,
Template: "alert_notification.html",