feat(alerting): add alert message to slack integration
This commit is contained in:
+1
-1
@@ -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,
|
||||
})
|
||||
|
||||
@@ -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"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user