You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: metrics/certificaterequest_collector.go
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,8 @@ var (
39
39
certRequestReadyStatusMetric=prometheus.NewDesc("certmanager_csi_certificate_request_ready_status", "The ready status of the certificate request.", []string{"name", "namespace", "condition", "issuer_name", "issuer_kind", "issuer_group"}, nil)
40
40
certRequestExpirationTimestampSeconds=prometheus.NewDesc("certmanager_csi_certificate_request_expiration_timestamp_seconds", "The timestamp after which the certificate request expires, expressed in Unix Epoch Time.", []string{"name", "namespace", "issuer_name", "issuer_kind", "issuer_group"}, nil)
41
41
certRequestRenewalTimestampSeconds=prometheus.NewDesc("certmanager_csi_certificate_request_renewal_timestamp_seconds", "The timestamp after which the certificate request should be renewed, expressed in Unix Epoch Time.", []string{"name", "namespace", "issuer_name", "issuer_kind", "issuer_group"}, nil)
42
-
managedVolumeCountTotal=prometheus.NewDesc("certmanager_csi_managed_volume_count_total", "The total number of managed volumes by the csi driver.", []string{"node"}, nil)
43
-
managedCertRequestCountTotal=prometheus.NewDesc("certmanager_csi_managed_certificate_request_count_total", "The total number of managed certificate requests by the csi driver.", []string{"node"}, nil)
42
+
managedVolumeCount=prometheus.NewDesc("certmanager_csi_managed_volume_count", "The number of managed volumes by the csi driver.", []string{"node"}, nil)
43
+
managedCertRequestCount=prometheus.NewDesc("certmanager_csi_managed_certificate_request_count", "The number of managed certificate requests by the csi driver.", []string{"node"}, nil)
44
44
)
45
45
46
46
typeCertificateRequestCollectorstruct {
@@ -50,8 +50,8 @@ type CertificateRequestCollector struct {
waitForMetrics(t, ctx, metricsEndpoint, `# HELP certmanager_csi_managed_certificate_request_count_total The total number of managed certificate requests by the csi driver.
189
-
# TYPE certmanager_csi_managed_certificate_request_count_total counter
waitForMetrics(t, ctx, metricsEndpoint, `# HELP certmanager_csi_managed_certificate_request_count The number of managed certificate requests by the csi driver.
189
+
# TYPE certmanager_csi_managed_certificate_request_count gauge
0 commit comments