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 TTLAfterFinishedSubsystem = "ttl_after_finished_controller"

TTLAfterFinishedSubsystem - subsystem name used for this controller.

Variables

View Source
var (
	// JobDeletionDurationSeconds tracks the time it took to delete the job since it
	// became eligible for deletion.
	JobDeletionDurationSeconds = metrics.NewHistogram(
		&metrics.HistogramOpts{
			Subsystem:      TTLAfterFinishedSubsystem,
			Name:           "job_deletion_duration_seconds",
			Help:           "The time it took to delete the job since it became eligible for deletion",
			StabilityLevel: metrics.ALPHA,

			Buckets: metrics.ExponentialBuckets(0.1, 2, 14),
		},
	)
)

Functions

func Register

func Register()

Register registers TTL after finished controller metrics.

Types

This section is empty.

Jump to

Keyboard shortcuts

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