package metrics

import "k8s.io/kubernetes/pkg/controller/replicaset/metrics"

Index

Constants

const ReplicaSetControllerSubsystem = "replicaset_controller"

Variables

var SortingDeletionAgeRatio = metrics.NewHistogram(
	&metrics.HistogramOpts{
		Subsystem: ReplicaSetControllerSubsystem,
		Name:      "sorting_deletion_age_ratio",
		Help: "The ratio of chosen deleted pod's ages to the current youngest pod's age (at the time). Should be <2. " +
			"The intent of this metric is to measure the rough efficacy of the LogarithmicScaleDown feature gate's effect on " +
			"" /* 130 byte string literal not displayed */,
		Buckets:        metrics.ExponentialBuckets(0.25, 2, 6),
		StabilityLevel: metrics.ALPHA,
	},
)

Functions

func Register

func Register(registrationFunc func(metrics.Registerable) error) error

Register registers ReplicaSet controller metrics.

Source Files

metrics.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
3 hours ago

Tools for package owners.