scheduler: deprecate deprecated metrics in 1.19

We need some time to compare both deprecated and new replacing metrics so other consumers like clusterloader2 have time to adjust.
This commit is contained in:
Jan Chaloupka 2020-02-24 21:05:02 +01:00
parent 4e79344501
commit a3f6627ce8

View File

@ -73,7 +73,7 @@ var (
// TODO: The value for this should be based on some SLI definition (long term).
MaxAge: 5 * time.Hour,
StabilityLevel: metrics.ALPHA,
DeprecatedVersion: "1.18.0",
DeprecatedVersion: "1.19.0",
},
[]string{OperationLabel},
)
@ -102,7 +102,7 @@ var (
Help: "Scheduling algorithm predicate evaluation duration in seconds",
Buckets: metrics.ExponentialBuckets(0.001, 2, 15),
StabilityLevel: metrics.ALPHA,
DeprecatedVersion: "1.18.0",
DeprecatedVersion: "1.19.0",
},
)
DeprecatedSchedulingAlgorithmPriorityEvaluationSecondsDuration = metrics.NewHistogram(
@ -112,7 +112,7 @@ var (
Help: "Scheduling algorithm priority evaluation duration in seconds",
Buckets: metrics.ExponentialBuckets(0.001, 2, 15),
StabilityLevel: metrics.ALPHA,
DeprecatedVersion: "1.18.0",
DeprecatedVersion: "1.19.0",
},
)
SchedulingAlgorithmPreemptionEvaluationDuration = metrics.NewHistogram(