Increase the size of the buckets for PodSchedulingDuration scheduler metric.

This commit is contained in:
Abdullah Gharaibeh 2020-07-22 16:00:35 -04:00
parent ae7dce72ce
commit 44d9497133

View File

@ -159,8 +159,8 @@ var (
Subsystem: SchedulerSubsystem, Subsystem: SchedulerSubsystem,
Name: "pod_scheduling_duration_seconds", Name: "pod_scheduling_duration_seconds",
Help: "E2e latency for a pod being scheduled which may include multiple scheduling attempts.", Help: "E2e latency for a pod being scheduled which may include multiple scheduling attempts.",
// Start with 1ms with the last bucket being [~16s, Inf) // Start with 10ms with the last bucket being [~88m, Inf).
Buckets: metrics.ExponentialBuckets(0.001, 2, 15), Buckets: metrics.ExponentialBuckets(0.01, 2, 20),
StabilityLevel: metrics.ALPHA, StabilityLevel: metrics.ALPHA,
}, },
[]string{"attempts"}) []string{"attempts"})