tech(alerting): change interval -> frequency

This commit is contained in:
bergquist
2016-05-30 09:31:05 +02:00
parent 16a9e56eca
commit 077be210da
10 changed files with 9 additions and 12 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ func GetAlerts(c *middleware.Context) Response {
QueryRefId: alert.QueryRefId,
WarnLevel: alert.WarnLevel,
CritLevel: alert.CritLevel,
Interval: alert.Interval,
Frequency: alert.Frequency,
Title: alert.Title,
Description: alert.Description,
QueryRange: alert.QueryRange,
+1 -1
View File
@@ -10,7 +10,7 @@ type AlertRuleDTO struct {
CritLevel int64 `json:"critLevel"`
WarnOperator string `json:"warnOperator"`
CritOperator string `json:"critOperator"`
Interval string `json:"interval"`
Frequency int64 `json:"frequency"`
Title string `json:"title"`
Description string `json:"description"`
QueryRange int `json:"queryRange"`