metrics

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const CronJobControllerSubsystem = "cronjob_controller"

Variables

View Source
var (
	CronJobCreationSkew = metrics.NewHistogram(
		&metrics.HistogramOpts{
			Subsystem:      CronJobControllerSubsystem,
			Name:           "cronjob_job_creation_skew_duration_seconds",
			Help:           "Time between when a cronjob is scheduled to be run, and when the corresponding job is created",
			StabilityLevel: metrics.ALPHA,
			Buckets:        metrics.ExponentialBuckets(1, 2, 10),
		},
	)
)

Functions

func Register

func Register()

Register registers CronjobController metrics.

Types

This section is empty.

Jump to

Keyboard shortcuts

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