Merge pull request #88485 from ingvagabund/deprecate-predicate-priority-metrics-in-1.19
scheduler: deprecate deprecated metrics in 1.19.0
This commit is contained in:
@@ -73,7 +73,7 @@ var (
|
|||||||
// TODO: The value for this should be based on some SLI definition (long term).
|
// TODO: The value for this should be based on some SLI definition (long term).
|
||||||
MaxAge: 5 * time.Hour,
|
MaxAge: 5 * time.Hour,
|
||||||
StabilityLevel: metrics.ALPHA,
|
StabilityLevel: metrics.ALPHA,
|
||||||
DeprecatedVersion: "1.18.0",
|
DeprecatedVersion: "1.19.0",
|
||||||
},
|
},
|
||||||
[]string{OperationLabel},
|
[]string{OperationLabel},
|
||||||
)
|
)
|
||||||
@@ -102,7 +102,7 @@ var (
|
|||||||
Help: "Scheduling algorithm predicate evaluation duration in seconds",
|
Help: "Scheduling algorithm predicate evaluation duration in seconds",
|
||||||
Buckets: metrics.ExponentialBuckets(0.001, 2, 15),
|
Buckets: metrics.ExponentialBuckets(0.001, 2, 15),
|
||||||
StabilityLevel: metrics.ALPHA,
|
StabilityLevel: metrics.ALPHA,
|
||||||
DeprecatedVersion: "1.18.0",
|
DeprecatedVersion: "1.19.0",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
DeprecatedSchedulingAlgorithmPriorityEvaluationSecondsDuration = metrics.NewHistogram(
|
DeprecatedSchedulingAlgorithmPriorityEvaluationSecondsDuration = metrics.NewHistogram(
|
||||||
@@ -112,7 +112,7 @@ var (
|
|||||||
Help: "Scheduling algorithm priority evaluation duration in seconds",
|
Help: "Scheduling algorithm priority evaluation duration in seconds",
|
||||||
Buckets: metrics.ExponentialBuckets(0.001, 2, 15),
|
Buckets: metrics.ExponentialBuckets(0.001, 2, 15),
|
||||||
StabilityLevel: metrics.ALPHA,
|
StabilityLevel: metrics.ALPHA,
|
||||||
DeprecatedVersion: "1.18.0",
|
DeprecatedVersion: "1.19.0",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
SchedulingAlgorithmPreemptionEvaluationDuration = metrics.NewHistogram(
|
SchedulingAlgorithmPreemptionEvaluationDuration = metrics.NewHistogram(
|
||||||
|
Reference in New Issue
Block a user