diff --git a/service/alerting/elasticsearch/engine.go b/service/alerting/elasticsearch/engine.go index 3fdab54b..a6cfc647 100644 --- a/service/alerting/elasticsearch/engine.go +++ b/service/alerting/elasticsearch/engine.go @@ -700,6 +700,9 @@ func (engine *Engine) Do(rule *alerting.Rule) error { } actionResults, _ := performChannels(recoverCfg.Normal, paramsCtx, false) alertItem.RecoverActionResults = actionResults + //clear history notification time + _ = kv.DeleteKey(alerting2.KVLastNotificationTime, []byte(rule.ID)) + _ = kv.DeleteKey(alerting2.KVLastEscalationTime, []byte(rule.ID)) } } return nil