feat(alerting): progress on alerting backend

This commit is contained in:
Torkel Ödegaard
2016-07-20 14:28:02 +02:00
parent 3219d98a92
commit 0ce55600bb
6 changed files with 138 additions and 17 deletions
+6 -2
View File
@@ -1,6 +1,10 @@
package alerting
import "time"
import (
"time"
"github.com/grafana/grafana/pkg/components/simplejson"
)
type AlertJob struct {
Offset int64
@@ -45,7 +49,7 @@ type Level struct {
}
type AlertQuery struct {
Query string
Model *simplejson.Json
DatasourceId int64
From string
To string