feat(alerting): making progress on alerting list, #5784

This commit is contained in:
Torkel Ödegaard
2016-08-16 09:52:45 +02:00
parent 9f29c54170
commit f934081bcb
14 changed files with 105 additions and 99 deletions
+5 -5
View File
@@ -32,6 +32,7 @@ func (s AlertSeverityType) IsValid() bool {
type Alert struct {
Id int64
Version int64
OrgId int64
DashboardId int64
PanelId int64
@@ -45,11 +46,10 @@ type Alert struct {
ExecutionError string
Frequency int64
LastEvalData *simplejson.Json
LastEvalTime time.Time
CreatedBy int64
UpdatedBy int64
EvalData *simplejson.Json
EvalDate time.Time
NewStateDate time.Time
StateChanges int
Created time.Time
Updated time.Time