metrics

package
v0.0.0-...-c4b3c64 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// UnschedulableCriticalPodsCount tracks the number of time when a critical pod was unschedublable.
	UnschedulableCriticalPodsCount = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Namespace: "rescheduler",
			Name:      "unschedulable_ciritical_pods_count",
			Help:      "Number of times a critical pod was unschedulable.",
		},
		[]string{"k8s_app"})
	// DeletedPodsCount tracks the number of deletion of pods in order to schedule a critical one.
	DeletedPodsCount = prometheus.NewCounter(
		prometheus.CounterOpts{
			Namespace: "rescheduler",
			Name:      "deleted_pods_count",
			Help:      "Number of pods deleted in order to schedule a critical pod.",
		})
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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