mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #92160 from YuikoTakada/add_deprecated_description_scheduling_duration_seconds
Add Deprecated description to metrics scheduling_duration_seconds
This commit is contained in:
commit
c2e6e147be
@ -38,11 +38,12 @@ var (
|
|||||||
// VolumeSchedulingStageLatency tracks the latency of volume scheduling operations.
|
// VolumeSchedulingStageLatency tracks the latency of volume scheduling operations.
|
||||||
VolumeSchedulingStageLatency = metrics.NewHistogramVec(
|
VolumeSchedulingStageLatency = metrics.NewHistogramVec(
|
||||||
&metrics.HistogramOpts{
|
&metrics.HistogramOpts{
|
||||||
Subsystem: VolumeSchedulerSubsystem,
|
Subsystem: VolumeSchedulerSubsystem,
|
||||||
Name: "scheduling_duration_seconds",
|
Name: "scheduling_duration_seconds",
|
||||||
Help: "Volume scheduling stage latency",
|
Help: "Volume scheduling stage latency (Deprecated since 1.19.0)",
|
||||||
Buckets: metrics.ExponentialBuckets(1000, 2, 15),
|
Buckets: metrics.ExponentialBuckets(1000, 2, 15),
|
||||||
StabilityLevel: metrics.ALPHA,
|
StabilityLevel: metrics.ALPHA,
|
||||||
|
DeprecatedVersion: "1.19.0",
|
||||||
},
|
},
|
||||||
[]string{"operation"},
|
[]string{"operation"},
|
||||||
)
|
)
|
||||||
|
@ -59,7 +59,7 @@ var (
|
|||||||
&metrics.SummaryOpts{
|
&metrics.SummaryOpts{
|
||||||
Subsystem: SchedulerSubsystem,
|
Subsystem: SchedulerSubsystem,
|
||||||
Name: DeprecatedSchedulingDurationName,
|
Name: DeprecatedSchedulingDurationName,
|
||||||
Help: "Scheduling latency in seconds split by sub-parts of the scheduling operation",
|
Help: "Scheduling latency in seconds split by sub-parts of the scheduling operation (Deprecated since 1.19.0)",
|
||||||
// Make the sliding window of 5h.
|
// Make the sliding window of 5h.
|
||||||
// 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,
|
||||||
@ -89,7 +89,7 @@ var (
|
|||||||
&metrics.HistogramOpts{
|
&metrics.HistogramOpts{
|
||||||
Subsystem: SchedulerSubsystem,
|
Subsystem: SchedulerSubsystem,
|
||||||
Name: "scheduling_algorithm_predicate_evaluation_seconds",
|
Name: "scheduling_algorithm_predicate_evaluation_seconds",
|
||||||
Help: "Scheduling algorithm predicate evaluation duration in seconds",
|
Help: "Scheduling algorithm predicate evaluation duration in seconds (Deprecated since 1.19.0)",
|
||||||
Buckets: metrics.ExponentialBuckets(0.001, 2, 15),
|
Buckets: metrics.ExponentialBuckets(0.001, 2, 15),
|
||||||
StabilityLevel: metrics.ALPHA,
|
StabilityLevel: metrics.ALPHA,
|
||||||
DeprecatedVersion: "1.19.0",
|
DeprecatedVersion: "1.19.0",
|
||||||
@ -99,7 +99,7 @@ var (
|
|||||||
&metrics.HistogramOpts{
|
&metrics.HistogramOpts{
|
||||||
Subsystem: SchedulerSubsystem,
|
Subsystem: SchedulerSubsystem,
|
||||||
Name: "scheduling_algorithm_priority_evaluation_seconds",
|
Name: "scheduling_algorithm_priority_evaluation_seconds",
|
||||||
Help: "Scheduling algorithm priority evaluation duration in seconds",
|
Help: "Scheduling algorithm priority evaluation duration in seconds (Deprecated since 1.19.0)",
|
||||||
Buckets: metrics.ExponentialBuckets(0.001, 2, 15),
|
Buckets: metrics.ExponentialBuckets(0.001, 2, 15),
|
||||||
StabilityLevel: metrics.ALPHA,
|
StabilityLevel: metrics.ALPHA,
|
||||||
DeprecatedVersion: "1.19.0",
|
DeprecatedVersion: "1.19.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user