feat(alerting): refactoring conditions out to seperate package

This commit is contained in:
Torkel Ödegaard
2016-07-27 16:18:10 +02:00
parent ae5f8a76d9
commit 6aaf4c97a2
11 changed files with 161 additions and 126 deletions
-8
View File
@@ -3,7 +3,6 @@ package alerting
import (
"time"
"github.com/grafana/grafana/pkg/components/simplejson"
"github.com/grafana/grafana/pkg/log"
)
@@ -61,10 +60,3 @@ type Level struct {
Operator string
Value float64
}
type AlertQuery struct {
Model *simplejson.Json
DatasourceId int64
From string
To string
}