metrics

package
v0.0.0-...-e2db2ca Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// metrics
	JwkersTotal = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name: "jwker_total",
		})
	JwkersProcessedCount = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name: "jwker_processed_count",
			Help: "Number of jwkers processed",
		},
	)
	JwkerSecretsTotal = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name: "jwker_secrets_total",
			Help: "Number of jwker secrets total",
		},
	)
	JwkersProcessingFailedCount = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name: "jwker_processing_failed_count",
			Help: "Number of jwkers that failed to process",
		},
	)
)

Functions

func RefreshTotalJwkerClusterMetrics

func RefreshTotalJwkerClusterMetrics(cli client.Client) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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