feat(alerting): adds api endpoints for alerts per dashboard and panel
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user