Adjust kubelet_cgroup_manager_duration_seconds bucket

This commit is contained in:
wawa0210
2021-01-19 16:23:14 +08:00
parent 21971cd309
commit f28f0953e6

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