metrics

package
v1.24.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 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