feat(alerting): refactoring conditions out to seperate package
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user