grafana/pkg/services/alerting/models.go

26 lines
336 B
Go
Raw Normal View History

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