@@ -113,25 +113,6 @@ var (
113113 []string {"nodegroup" , "node_name" },
114114 )
115115
116- // AnnotationCleanupAttempts tracks cleanup operation attempts
117- AnnotationCleanupAttempts = prometheus .NewCounterVec (
118- prometheus.CounterOpts {
119- Name : fmt .Sprintf ("%v_annotation_cleanup_attempts_total" , namespace ),
120- Help : "Total number of annotation cleanup attempts" ,
121- },
122- []string {"nodegroup" , "result" }, // result: "success", "partial_failure", "failure"
123- )
124-
125- // AnnotationCleanupDuration tracks cleanup operation duration
126- AnnotationCleanupDuration = prometheus .NewHistogramVec (
127- prometheus.HistogramOpts {
128- Name : fmt .Sprintf ("%v_annotation_cleanup_duration_seconds" , namespace ),
129- Help : "Duration of annotation cleanup operations in seconds" ,
130- Buckets : prometheus .ExponentialBuckets (0.1 , 2 , 10 ), // 0.1s to ~51s
131- },
132- []string {"nodegroup" },
133- )
134-
135116 // --- Node controller cleanup metrics (safety-net reconciler) ---
136117
137118 // NodeCleanupAnnotationsRemoved tracks how many stale annotations the node
@@ -178,8 +159,6 @@ func Register(client client.Client, logger logr.Logger, namespace string) {
178159 AnnotationRemoveSuccess ,
179160 AnnotationRemoveFailure ,
180161 NodesWithAnnotation ,
181- AnnotationCleanupAttempts ,
182- AnnotationCleanupDuration ,
183162 NodeCleanupAnnotationsRemoved ,
184163 NodeCleanupReconciles ,
185164 )
0 commit comments