Merge pull request #93354 from ahg-g/ahg-metric2

Increase the size of the buckets for PodSchedulingDuration scheduler metric.
This commit is contained in:
Kubernetes Prow Robot
2020-07-22 23:09:58 -07:00
committed by GitHub

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"})