feat(alerting): add limit and since id options for alert logs

This commit is contained in:
bergquist
2016-05-04 09:57:53 +02:00
parent 7757d6d636
commit 26941284da
4 changed files with 63 additions and 4 deletions
+4 -1
View File
@@ -25,6 +25,7 @@ type AlertRule struct {
}
type AlertRuleChange struct {
Id int64 `json:"id"`
OrgId int64 `json:"-"`
AlertId int64 `json:"alertId"`
Type string `json:"type"`
@@ -106,7 +107,9 @@ type GetAlertByIdQuery struct {
}
type GetAlertChangesQuery struct {
OrgId int64
OrgId int64
Limit int64
SinceId int64
Result []AlertRuleChange
}