Alerting: Add debug logs when saving instances is finished (#70447)

This commit is contained in:
George Robinson 2023-06-21 13:19:04 +01:00 committed by GitHub
parent 00ec9fceb9
commit 8a13ee3cd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -377,6 +377,7 @@ func (st *Manager) saveAlertStates(ctx context.Context, logger log.Logger, state
logger.Error("Failed to save alert state", "labels", s.Labels.String(), "state", s.State, "error", err)
}
}
logger.Debug("Saving alert states done", "count", len(states))
}
func (st *Manager) deleteAlertStates(ctx context.Context, logger log.Logger, states []StateTransition) {