controller-runtimesigs.k8s.io/controller-runtime/pkg/certwatcher/metrics Index | Files

package metrics

import "sigs.k8s.io/controller-runtime/pkg/certwatcher/metrics"

Index

Variables

var (
	// ReadCertificateTotal is a prometheus counter metrics which holds the total
	// number of certificate reads.
	ReadCertificateTotal = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "certwatcher_read_certificate_total",
		Help: "Total number of certificate reads",
	})

	// ReadCertificateErrors is a prometheus counter metrics which holds the total
	// number of errors from certificate read.
	ReadCertificateErrors = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "certwatcher_read_certificate_errors_total",
		Help: "Total number of certificate read errors",
	})
)

Source Files

metrics.go

Version
v0.21.0 (latest)
Published
May 20, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
26 minutes ago

Tools for package owners.