Skip to content

Commit d36aa14

Browse files
committed
feat: Remove deprecated object metrics from controllers fluxcd/flux2#5083
Signed-off-by: hasithsen <[email protected]>
1 parent 9d65ff8 commit d36aa14

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

internal/controller/kustomization_controller.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,7 @@ func (r *KustomizationReconciler) Reconcile(ctx context.Context, req ctrl.Reques
185185
}
186186

187187
// Record Prometheus metrics.
188-
r.Metrics.RecordReadiness(ctx, obj)
189188
r.Metrics.RecordDuration(ctx, obj, reconcileStart)
190-
r.Metrics.RecordSuspend(ctx, obj, obj.Spec.Suspend)
191189

192190
// Log and emit success event.
193191
if conditions.IsReady(obj) {

0 commit comments

Comments
 (0)