mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #98169 from wawa0210/fix-98167
[kubelet metrics] Readjust kubelet_containers_per_pod_count bucket
This commit is contained in:
commit
a410c14020
@ -92,13 +92,13 @@ var (
|
||||
},
|
||||
[]string{NodeLabelKey},
|
||||
)
|
||||
// ContainersPerPodCount is a Counter that tracks the number of containers per pod.
|
||||
// ContainersPerPodCount is a Histogram that tracks the number of containers per pod.
|
||||
ContainersPerPodCount = metrics.NewHistogram(
|
||||
&metrics.HistogramOpts{
|
||||
Subsystem: KubeletSubsystem,
|
||||
Name: "containers_per_pod_count",
|
||||
Help: "The number of containers per pod.",
|
||||
Buckets: metrics.DefBuckets,
|
||||
Buckets: metrics.ExponentialBuckets(1, 2, 5),
|
||||
StabilityLevel: metrics.ALPHA,
|
||||
},
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user