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.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
3 hours ago

Tools for package owners.