Skip to content

Commit 79a1375

Browse files
authored
Merge pull request #8101 from x13n/estimate-metric
Use exponential rather than arbitrary bucketing
2 parents 6ad982c + deec4b7 commit 79a1375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster-autoscaler/metrics/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ var (
424424
Namespace: caNamespace,
425425
Name: "binpacking_heterogeneity",
426426
Help: "Number of groups of equivalent pods being processed as a part of the same binpacking simulation.",
427-
Buckets: []float64{1, 2, 4, 6, 10},
427+
Buckets: k8smetrics.ExponentialBuckets(1, 2, 6), // 1, 2, 4, ..., 32
428428
}, []string{"instance_type", "cpu_count", "namespace_count"},
429429
)
430430
)

0 commit comments

Comments
 (0)