New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Deprecated description to metrics scheduling_duration_seconds #92160
Add Deprecated description to metrics scheduling_duration_seconds #92160
Conversation
@@ -40,7 +40,7 @@ var ( | |||
&metrics.HistogramOpts{ | |||
Subsystem: VolumeSchedulerSubsystem, | |||
Name: "scheduling_duration_seconds", | |||
Help: "Volume scheduling stage latency", | |||
Help: "Volume scheduling stage latency (Deprecated since 1.18.0)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: would be great to add it to other metrics than:
kubernetes/pkg/scheduler/metrics/metrics.go
Lines 108 to 117 in 5b3fe05
DeprecatedSchedulingAlgorithmPriorityEvaluationSecondsDuration = metrics.NewHistogram( | |
&metrics.HistogramOpts{ | |
Subsystem: SchedulerSubsystem, | |
Name: "scheduling_algorithm_priority_evaluation_seconds", | |
Help: "Scheduling algorithm priority evaluation duration in seconds", | |
Buckets: metrics.ExponentialBuckets(0.001, 2, 15), | |
StabilityLevel: metrics.ALPHA, | |
DeprecatedVersion: "1.19.0", | |
}, | |
) |
kubernetes/pkg/scheduler/metrics/metrics.go
Lines 98 to 107 in 5b3fe05
DeprecatedSchedulingAlgorithmPredicateEvaluationSecondsDuration = metrics.NewHistogram( | |
&metrics.HistogramOpts{ | |
Subsystem: SchedulerSubsystem, | |
Name: "scheduling_algorithm_predicate_evaluation_seconds", | |
Help: "Scheduling algorithm predicate evaluation duration in seconds", | |
Buckets: metrics.ExponentialBuckets(0.001, 2, 15), | |
StabilityLevel: metrics.ALPHA, | |
DeprecatedVersion: "1.19.0", | |
}, | |
) |
From changelog:
The scheduling_duration_seconds summary metric is deprecated (#86586, @xiaoanyunfei) [SIG Scheduling]
The scheduling_algorithm_predicate_evaluation_seconds and scheduling_algorithm_priority_evaluation_seconds metrics are deprecated, replaced by framework_extension_point_duration_seconds[extension_point="Filter"] and framework_extension_point_duration_seconds[extension_point="Score"]. (#86584, @xiaoanyunfei) [SIG Scheduling]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your comments. I'll add them also. Are these metrics deprecated since 1.19.0? They are mentioned in CHANGELOG-1.18.md.
5de4270
to
12865a8
Compare
12865a8
to
efb5d8c
Compare
/assign @ahg-g |
yes, we have a per extension point and per {ExtensionPoint, Plugin} metrics. /lgtm |
Looks like there are some formatting issues that need to be fixed. Otherwise, lgtm |
/retest Review the full test history for this PR. Silence the bot with an |
8 similar comments
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
16 similar comments
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
efb5d8c
to
97bca0e
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahg-g, msau42, YuikoTakada The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
ping @ahg-g to reapply LGTM |
/lgtm |
What type of PR is this?
/kind documentation
What this PR does / why we need it:
This PR adds Deprecated description to metrics scheduling_duration_seconds.
scheduling_duration_seconds is deprecated since v1.18.
See: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.18.md#kube-scheduler
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: