Files
grafana/pkg/services/alerting/models.go

26 lines
336 B
Go
Raw Normal View History

package alerting
2016-07-27 16:29:28 +02:00
type Job struct {
Offset int64
OffsetWait bool
Delay bool
Running bool
Rule *Rule
2016-06-13 14:01:57 +02:00
}
2016-07-27 16:29:28 +02:00
type ResultLogEntry struct {
Message string
Data interface{}
}
2016-08-15 15:12:43 +02:00
type EvalMatch struct {
2016-07-14 13:32:16 +02:00
Value float64
Metric string
Tags map[string]string
}
type Level struct {
Operator string
Value float64
}