feat(alerting): list all series in alert email
This commit is contained in:
@@ -34,12 +34,22 @@ func TestEmailIntegrationTest(t *testing.T) {
|
||||
"Title": "[CRITICAL] Imaginary timeserie alert",
|
||||
"State": "Firing",
|
||||
"Name": "Imaginary timeserie alert",
|
||||
"Severity": "Critical",
|
||||
"Severity": "ok",
|
||||
"SeverityColor": "#D63232",
|
||||
"Message": "Alert message that will support markdown in some distant future.",
|
||||
"RuleUrl": "http://localhost:3000/dashboard/db/graphite-dashboard",
|
||||
"AlertPageUrl": "http://localhost:3000/alerting",
|
||||
"ImageLink": "http://localhost:3000/render/dashboard-solo/db/graphite-dashboard?panelId=1&from=1471008499616&to=1471012099617&width=1000&height=500",
|
||||
"SeverityColor": "#D63232",
|
||||
"AlertPageUrl": "http://localhost:3000/alerting",
|
||||
"Events": []map[string]string{
|
||||
{
|
||||
"Metric": "desktop",
|
||||
"Value": "40",
|
||||
},
|
||||
{
|
||||
"Metric": "mobile",
|
||||
"Value": "20",
|
||||
},
|
||||
},
|
||||
},
|
||||
To: []string{"asdf@asdf.com "},
|
||||
Template: "alert_notification.html",
|
||||
|
||||
Reference in New Issue
Block a user