@@ -67,22 +67,24 @@ var (
67
67
StabilityLevel : metrics .ALPHA ,
68
68
},
69
69
)
70
- SchedulingAlgorithmPreemptionEvaluationDuration = metrics .NewHistogram (
70
+ DeprecatedSchedulingAlgorithmPreemptionEvaluationDuration = metrics .NewHistogram (
71
71
& metrics.HistogramOpts {
72
- Subsystem : SchedulerSubsystem ,
73
- Name : "scheduling_algorithm_preemption_evaluation_seconds" ,
74
- Help : "Scheduling algorithm preemption evaluation duration in seconds" ,
75
- Buckets : metrics .ExponentialBuckets (0.001 , 2 , 15 ),
76
- StabilityLevel : metrics .ALPHA ,
72
+ Subsystem : SchedulerSubsystem ,
73
+ Name : "scheduling_algorithm_preemption_evaluation_seconds" ,
74
+ Help : "Scheduling algorithm preemption evaluation duration in seconds" ,
75
+ Buckets : metrics .ExponentialBuckets (0.001 , 2 , 15 ),
76
+ StabilityLevel : metrics .ALPHA ,
77
+ DeprecatedVersion : "1.20.0" ,
77
78
},
78
79
)
79
- BindingLatency = metrics .NewHistogram (
80
+ DeprecatedBindingLatency = metrics .NewHistogram (
80
81
& metrics.HistogramOpts {
81
- Subsystem : SchedulerSubsystem ,
82
- Name : "binding_duration_seconds" ,
83
- Help : "Binding latency in seconds" ,
84
- Buckets : metrics .ExponentialBuckets (0.001 , 2 , 15 ),
85
- StabilityLevel : metrics .ALPHA ,
82
+ Subsystem : SchedulerSubsystem ,
83
+ Name : "binding_duration_seconds" ,
84
+ Help : "Binding latency in seconds" ,
85
+ Buckets : metrics .ExponentialBuckets (0.001 , 2 , 15 ),
86
+ StabilityLevel : metrics .ALPHA ,
87
+ DeprecatedVersion : "1.20.0" ,
86
88
},
87
89
)
88
90
PreemptionVictims = metrics .NewHistogram (
@@ -189,8 +191,8 @@ var (
189
191
scheduleAttempts ,
190
192
e2eSchedulingLatency ,
191
193
SchedulingAlgorithmLatency ,
192
- BindingLatency ,
193
- SchedulingAlgorithmPreemptionEvaluationDuration ,
194
+ DeprecatedBindingLatency ,
195
+ DeprecatedSchedulingAlgorithmPreemptionEvaluationDuration ,
194
196
PreemptionVictims ,
195
197
PreemptionAttempts ,
196
198
pendingPods ,
0 commit comments