Documentation ¶
Index ¶
Constants ¶
View Source
const VolumeSchedulerSubsystem = "scheduler_volume"
VolumeSchedulerSubsystem - subsystem name used by scheduler
Variables ¶
View Source
var ( // VolumeBindingRequestSchedulerBinderCache tracks the number of volume binder cache operations. VolumeBindingRequestSchedulerBinderCache = metrics.NewCounterVec( &metrics.CounterOpts{ Subsystem: VolumeSchedulerSubsystem, Name: "binder_cache_requests_total", Help: "Total number for request volume binding cache", StabilityLevel: metrics.ALPHA, }, []string{"operation"}, ) // VolumeSchedulingStageLatency tracks the latency of volume scheduling operations. VolumeSchedulingStageLatency = metrics.NewHistogramVec( &metrics.HistogramOpts{ Subsystem: VolumeSchedulerSubsystem, Name: "scheduling_duration_seconds", Help: "Volume scheduling stage latency (Deprecated since 1.19.0)", Buckets: metrics.ExponentialBuckets(0.001, 2, 15), StabilityLevel: metrics.ALPHA, DeprecatedVersion: "1.19.0", }, []string{"operation"}, ) // VolumeSchedulingStageFailed tracks the number of failed volume scheduling operations. VolumeSchedulingStageFailed = metrics.NewCounterVec( &metrics.CounterOpts{ Subsystem: VolumeSchedulerSubsystem, Name: "scheduling_stage_error_total", Help: "Volume scheduling stage error count", StabilityLevel: metrics.ALPHA, }, []string{"operation"}, ) )
Functions ¶
func RegisterVolumeSchedulingMetrics ¶
func RegisterVolumeSchedulingMetrics()
RegisterVolumeSchedulingMetrics is used for scheduler, because the volume binding cache is a library used by scheduler process.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.