metrics

package
v1.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ResultMetric = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{
			Subsystem: config.MetricsPrefix(),
			Name:      "webhook_job_succeed",
			Help:      "Result of webhook job, 1 is failed and 0 is successful",
		},
		[]string{"job"},
	)
	RotateCertificateMetric = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Subsystem: config.MetricsPrefix(),
			Name:      "rotate_certificate_result",
			Help:      "Whether or not to rotate certificate, 0 is not rotate and 1 is rotate",
		},
	)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL