Skip to content

Commit 44d9497

Browse files
committed
Increase the size of the buckets for PodSchedulingDuration scheduler metric.
1 parent ae7dce7 commit 44d9497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/scheduler/metrics/metrics.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ var (
159159
Subsystem: SchedulerSubsystem,
160160
Name: "pod_scheduling_duration_seconds",
161161
Help: "E2e latency for a pod being scheduled which may include multiple scheduling attempts.",
162-
// Start with 1ms with the last bucket being [~16s, Inf)
163-
Buckets: metrics.ExponentialBuckets(0.001, 2, 15),
162+
// Start with 10ms with the last bucket being [~88m, Inf).
163+
Buckets: metrics.ExponentialBuckets(0.01, 2, 20),
164164
StabilityLevel: metrics.ALPHA,
165165
},
166166
[]string{"attempts"})

0 commit comments

Comments
 (0)