grafana/pkg/services/alerting/models.go
2016-07-28 17:03:53 +02:00

26 lines
318 B
Go

package alerting
type Job struct {
Offset int64
Delay bool
Running bool
Rule *Rule
}
type ResultLogEntry struct {
Message string
Data interface{}
}
type Event struct {
Value float64
Metric string
State string
Tags map[string]string
}
type Level struct {
Operator string
Value float64
}