tech(alerting): change interval -> frequency
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user