mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 05:29:42 -06:00
22 lines
679 B
Go
22 lines
679 B
Go
package dtos
|
|
|
|
type AlertRuleDTO struct {
|
|
Id int64 `json:"id"`
|
|
DashboardId int64 `json:"dashboardId"`
|
|
PanelId int64 `json:"panelId"`
|
|
Query string `json:"query"`
|
|
QueryRefId string `json:"queryRefId"`
|
|
WarnLevel int64 `json:"warnLevel"`
|
|
CritLevel int64 `json:"critLevel"`
|
|
WarnOperator string `json:"warnOperator"`
|
|
CritOperator string `json:"critOperator"`
|
|
Interval string `json:"interval"`
|
|
Title string `json:"title"`
|
|
Description string `json:"description"`
|
|
QueryRange string `json:"queryRange"`
|
|
Aggregator string `json:"aggregator"`
|
|
State string `json:"state"`
|
|
|
|
DashbboardUri string `json:"dashboardUri"`
|
|
}
|