Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DeschedulerSubsystem - subsystem name used by descheduler
DeschedulerSubsystem = "descheduler"
)
Variables ¶
View Source
var ( PodsEvicted = metrics.NewCounterVec( &metrics.CounterOpts{ Subsystem: DeschedulerSubsystem, Name: "pods_evicted", Help: "Number of evicted pods, by the result, by the strategy, by the namespace, by the node name. 'error' result means a pod could not be evicted", StabilityLevel: metrics.ALPHA, }, []string{"result", "strategy", "profile", "namespace", "node"}) DeschedulerLoopDuration = metrics.NewHistogramVec( &metrics.HistogramOpts{ Subsystem: DeschedulerSubsystem, Name: "descheduler_loop_duration_seconds", Help: "Time taken to complete a full descheduling cycle", StabilityLevel: metrics.ALPHA, Buckets: []float64{0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5, 10, 25, 50, 100, 250, 500}, }, []string{}) DeschedulerStrategyDuration = metrics.NewHistogramVec( &metrics.HistogramOpts{ Subsystem: DeschedulerSubsystem, Name: "descheduler_strategy_duration_seconds", Help: "Time taken to complete Each strategy of the descheduling operation", StabilityLevel: metrics.ALPHA, Buckets: []float64{0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5, 10, 25, 50, 100}, }, []string{"strategy", "profile"}) )
Functions ¶
func RegisterMetrics ¶
func RegisterMetrics(extraMetrics ...metrics.Registerable)
RegisterMetrics registers a list of metrics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.