metrics

package
v1.33.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Global = New()
)

Functions

func Register

func Register()

Register registers TaintEvictionController metrics.

Types

type Metrics

type Metrics struct {
	metrics.KubeRegistry
	PodDeletionsTotal   *metrics.Counter
	PodDeletionsLatency *metrics.Histogram
}

Metrics contains all metrics supported by the device taint eviction controller. It implements metrics.Gatherer.

func New

func New(buckets ...float64) Metrics

New returns new instances of all metrics for testing in parallel. Optionally, buckets for the histograms can be specified.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳