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

pull/69823/head^2
George Robinson 2 years ago committed by GitHub
parent 00ec9fceb9
commit 8a13ee3cd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      pkg/services/ngalert/state/manager.go

@ -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) {

Loading…
Cancel
Save