feat(alerting): add alert message to slack integration

This commit is contained in:
bergquist
2016-08-12 10:12:04 +02:00
parent e7613b8bc0
commit 16e75a3036
12 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ func GetAlerts(c *middleware.Context) Response {
DashboardId: alert.DashboardId,
PanelId: alert.PanelId,
Name: alert.Name,
Description: alert.Description,
Message: alert.Message,
State: alert.State,
Severity: alert.Severity,
})
+1 -1
View File
@@ -12,7 +12,7 @@ type AlertRule struct {
DashboardId int64 `json:"dashboardId"`
PanelId int64 `json:"panelId"`
Name string `json:"name"`
Description string `json:"description"`
Message string `json:"message"`
State m.AlertStateType `json:"state"`
Severity m.AlertSeverityType `json:"severity"`