2016-04-27 06:02:28 -05:00
|
|
|
package dtos
|
|
|
|
|
|
|
|
type AlertRuleDTO struct {
|
2016-05-31 06:55:16 -05:00
|
|
|
Id int64 `json:"id"`
|
|
|
|
DashboardId int64 `json:"dashboardId"`
|
|
|
|
PanelId int64 `json:"panelId"`
|
|
|
|
Query string `json:"query"`
|
|
|
|
QueryRefId string `json:"queryRefId"`
|
|
|
|
WarnLevel float64 `json:"warnLevel"`
|
|
|
|
CritLevel float64 `json:"critLevel"`
|
|
|
|
WarnOperator string `json:"warnOperator"`
|
|
|
|
CritOperator string `json:"critOperator"`
|
|
|
|
Frequency int64 `json:"frequency"`
|
2016-06-06 10:11:46 -05:00
|
|
|
Name string `json:"name"`
|
2016-05-31 06:55:16 -05:00
|
|
|
Description string `json:"description"`
|
|
|
|
QueryRange int `json:"queryRange"`
|
|
|
|
Aggregator string `json:"aggregator"`
|
|
|
|
State string `json:"state"`
|
2016-04-27 06:02:28 -05:00
|
|
|
|
|
|
|
DashbboardUri string `json:"dashboardUri"`
|
|
|
|
}
|