metrics

package
v0.61.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionFinished

func ActionFinished(actionType string, success bool, duration time.Duration)

func ActionStarted added in v0.61.0

func ActionStarted(actionType string)

func Gather added in v0.60.0

func Gather() ([]*dto.MetricFamily, error)

Gather gets all current metric series registered at the Registry.

func IncrementInformerCacheSyncs added in v0.61.0

func IncrementInformerCacheSyncs(resource, status string)

func NewMetricsMux

func NewMetricsMux() *http.ServeMux

func RegisterCustomMetrics

func RegisterCustomMetrics()

func SetInformerCacheSize added in v0.61.0

func SetInformerCacheSize(resource string, size int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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