metrics

package
v1.31.3 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
const EphemeralVolumeSubsystem = "ephemeral_volume_controller"

EphemeralVolumeSubsystem - subsystem name used for Endpoint Slices.

Variables

View Source
var (
	// EphemeralVolumeCreateAttempts tracks the number of
	// PersistentVolumeClaims().Create calls (both successful and unsuccessful)
	EphemeralVolumeCreateAttempts = metrics.NewCounter(
		&metrics.CounterOpts{
			Subsystem:      EphemeralVolumeSubsystem,
			Name:           "create_total",
			Help:           "Number of PersistenVolumeClaims creation requests",
			StabilityLevel: metrics.ALPHA,
		})
	// EphemeralVolumeCreateFailures tracks the number of unsuccessful
	// PersistentVolumeClaims().Create calls
	EphemeralVolumeCreateFailures = metrics.NewCounter(
		&metrics.CounterOpts{
			Subsystem:      EphemeralVolumeSubsystem,
			Name:           "create_failures_total",
			Help:           "Number of PersistenVolumeClaims creation requests",
			StabilityLevel: metrics.ALPHA,
		})
)

Functions

func RegisterMetrics

func RegisterMetrics()

RegisterMetrics registers EphemeralVolume metrics.

Types

This section is empty.

Jump to

Keyboard shortcuts

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