mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Allow debugging kubelet image pull times
This PR changes the buckets of the kubelet_runtime_operation_duration_seconds metric to be metrics.ExponentialBuckets(.005, 2.5, 14) in order to allow debugging image pull times. Right now the biggest bucket is 10 seconds, which is an ordinary time frame to pull an image, making the metric useless for the aforementioned usecase.
This commit is contained in:
parent
fbc589f35d
commit
801a52c06d
@ -204,7 +204,7 @@ var (
|
||||
Subsystem: KubeletSubsystem,
|
||||
Name: RuntimeOperationsDurationKey,
|
||||
Help: "Duration in seconds of runtime operations. Broken down by operation type.",
|
||||
Buckets: metrics.DefBuckets,
|
||||
Buckets: metrics.ExponentialBuckets(.005, 2.5, 14),
|
||||
StabilityLevel: metrics.ALPHA,
|
||||
},
|
||||
[]string{"operation_type"},
|
||||
|
Loading…
Reference in New Issue
Block a user