Feature for repeated alerting in grafana

This commit is contained in:
John Baublitz
2018-06-04 13:19:13 +02:00
committed by bergquist
parent f5cf926364
commit e068be4c26
10 changed files with 55 additions and 2 deletions
+1
View File
@@ -88,6 +88,7 @@ func (handler *DefaultResultHandler) Handle(evalContext *EvalContext) error {
}
}
bus.Dispatch(&m.IncAlertEvalCommand{AlertId: evalContext.Rule.Id})
handler.notifier.SendIfNeeded(evalContext)
return nil