feat(alerting): adds api endpoints for alerts per dashboard and panel

This commit is contained in:
bergquist
2016-04-28 15:13:42 +02:00
parent 1f414c1372
commit f442adca47
9 changed files with 95 additions and 34 deletions
+13
View File
@@ -102,3 +102,16 @@ type GetAlertChangesQuery struct {
Result []AlertRuleChange
}
type GetAlertsForDashboardQuery struct {
DashboardId int64
Result []AlertRule
}
type GetAlertForPanelQuery struct {
DashboardId int64
PanelId int64
Result AlertRule
}