feat(alerting): add parameteters for filtering alerts

This commit is contained in:
bergquist
2016-05-10 09:45:56 +02:00
parent b8421a478f
commit 1bb8bc58b8
6 changed files with 43 additions and 111 deletions
+4 -15
View File
@@ -95,8 +95,10 @@ type DeleteAlertCommand struct {
//Queries
type GetAlertsQuery struct {
OrgId int64
State []string
OrgId int64
State []string
DashboardId int64
PanelId int64
Result []AlertRule
}
@@ -114,16 +116,3 @@ type GetAlertChangesQuery struct {
Result []AlertRuleChange
}
type GetAlertsForDashboardQuery struct {
DashboardId int64
Result []AlertRule
}
type GetAlertForPanelQuery struct {
DashboardId int64
PanelId int64
Result AlertRule
}