feat(alerting): extract logic state updates and notifications

ref #6444
This commit is contained in:
bergquist
2016-11-04 11:28:12 +01:00
parent b88791135f
commit f0b591b89b
4 changed files with 160 additions and 23 deletions
+12 -11
View File
@@ -11,17 +11,18 @@ import (
)
type Rule struct {
Id int64
OrgId int64
DashboardId int64
PanelId int64
Frequency int64
Name string
Message string
NoDataState m.NoDataOption
State m.AlertStateType
Conditions []Condition
Notifications []int64
Id int64
OrgId int64
DashboardId int64
PanelId int64
Frequency int64
Name string
Message string
NoDataState m.NoDataOption
ExecutionErrorState m.NoDataOption
State m.AlertStateType
Conditions []Condition
Notifications []int64
}
type ValidationError struct {