Skip to content

Commit ca40713

Browse files
authored
Merge pull request #1305 from hasithsen/main
Remove deprecated object metrics
2 parents 9d65ff8 + d36aa14 commit ca40713

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

internal/controller/kustomization_controller.go

-2
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)