feat(alerting): adds basic page for listing alerts

This commit is contained in:
bergquist
2016-04-27 13:02:28 +02:00
parent 3cf6532515
commit 6a5ecb3fca
7 changed files with 129 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
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 string `json:"warnLevel"`
CritLevel string `json:"critLevel"`
Interval string `json:"interval"`
Title string `json:"title"`
Description string `json:"description"`
QueryRange string `json:"queryRange"`
Aggregator string `json:"aggregator"`
DashbboardUri string `json:"dashboardUri"`
}