metrics

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReconcileCount = prometheus.NewCounterVec(prometheus.CounterOpts{
		Name: genMetricName("reconcile_count"),
		Help: "Counter on how many times the reconcile loop has occur.",
	}, labels)

	ReconcileDuration = prometheus.NewHistogramVec(prometheus.HistogramOpts{
		Name:    genMetricName("reconcile_duration"),
		Help:    "Histogram on how much each reconcile loop lasts.",
		Buckets: []float64{.1, .25, .5, 1, 2.5, 5, 10},
	}, labels)
)

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