@@ -108,8 +108,8 @@ penultimate completed version for 'completed'.
108108 }, []string {"name" , "condition" , "reason" }),
109109 clusterVersionRiskConditions : prometheus .NewGaugeVec (prometheus.GaugeOpts {
110110 Name : "cluster_version_risk_conditions" ,
111- Help : "Report the risk conditions for cluster versions . 0 is False and 1 is True." ,
112- }, []string {"name" , " condition" , "risk" }),
111+ Help : "Report the risk conditions for the cluster version . 0 is False and 1 is True." ,
112+ }, []string {"condition" , "risk" }),
113113 clusterOperatorConditionTransitions : prometheus .NewGaugeVec (prometheus.GaugeOpts {
114114 Name : "cluster_operator_condition_transitions" ,
115115 Help : "Reports the number of times that a condition on a cluster operator changes status" ,
@@ -495,7 +495,7 @@ func (m *operatorMetrics) Describe(ch chan<- *prometheus.Desc) {
495495 ch <- m .capability .WithLabelValues ("" ).Desc ()
496496 ch <- m .clusterOperatorUp .WithLabelValues ("" , "" , "" ).Desc ()
497497 ch <- m .clusterOperatorConditions .WithLabelValues ("" , "" , "" ).Desc ()
498- ch <- m .clusterVersionRiskConditions .WithLabelValues ("" , "" , "" ).Desc ()
498+ ch <- m .clusterVersionRiskConditions .WithLabelValues ("" , "" ).Desc ()
499499 ch <- m .clusterOperatorConditionTransitions .WithLabelValues ("" , "" ).Desc ()
500500 ch <- m .clusterInstaller .WithLabelValues ("" , "" , "" ).Desc ()
501501 ch <- m .clusterVersionOperatorUpdateRetrievalTimestampSeconds .WithLabelValues ("" ).Desc ()
@@ -524,7 +524,7 @@ func (m *operatorMetrics) collectConditionalUpdateRisks(ch chan<- prometheus.Met
524524 continue
525525 }
526526
527- g := m .clusterVersionRiskConditions .WithLabelValues ("version" , condition .Type , risk .Name )
527+ g := m .clusterVersionRiskConditions .WithLabelValues (condition .Type , risk .Name )
528528 if condition .Status == metav1 .ConditionTrue {
529529 g .Set (1 )
530530 } else {
0 commit comments