Skip to content

Commit

Permalink
Merge pull request #1305 from hasithsen/main
Browse files Browse the repository at this point in the history
Remove deprecated object metrics
  • Loading branch information
stefanprodan authored Dec 11, 2024
2 parents 9d65ff8 + d36aa14 commit ca40713
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/controller/kustomization_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,7 @@ func (r *KustomizationReconciler) Reconcile(ctx context.Context, req ctrl.Reques
}

// Record Prometheus metrics.
r.Metrics.RecordReadiness(ctx, obj)
r.Metrics.RecordDuration(ctx, obj, reconcileStart)
r.Metrics.RecordSuspend(ctx, obj, obj.Spec.Suspend)

// Log and emit success event.
if conditions.IsReady(obj) {
Expand Down

0 comments on commit ca40713

Please sign in to comment.