package metrics

import "k8s.io/kubernetes/pkg/controller/devicetainteviction/metrics"

Index

Variables

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.

Source Files

metrics.go

Version
v1.33.2 (latest)
Published
Jun 17, 2025
Platform
js/wasm
Imports
3 packages
Last checked
20 minutes ago

Tools for package owners.