Merge pull request #98169 from wawa0210/fix-98167

[kubelet metrics] Readjust kubelet_containers_per_pod_count bucket
This commit is contained in:
Kubernetes Prow Robot 2021-01-19 06:37:46 -08:00 committed by GitHub
commit a410c14020
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
},
)