diff --git a/service/alerting/elasticsearch/engine.go b/service/alerting/elasticsearch/engine.go index e61a2054..2ef65b1e 100644 --- a/service/alerting/elasticsearch/engine.go +++ b/service/alerting/elasticsearch/engine.go @@ -701,6 +701,8 @@ func (engine *Engine) Do(rule *alerting.Rule) error { actionResults, _ := performChannels(recoverCfg.Normal, paramsCtx, false) alertItem.RecoverActionResults = actionResults //clear history notification time + rule.LastNotificationTime = time.Time{} + rule.LastEscalationTime = time.Time{} _ = kv.DeleteKey(alerting2.KVLastNotificationTime, []byte(rule.ID)) _ = kv.DeleteKey(alerting2.KVLastEscalationTime, []byte(rule.ID)) }