Use exponential rather than arbitrary bucketing

Also adds an additional bucket to be able to capture more data points at
the high end.
This commit is contained in:
Daniel Kłobuszewski 2025-05-07 14:44:59 +02:00
parent 99121ebf42
commit deec4b7fbd
1 changed files with 1 additions and 1 deletions

View File

@ -424,7 +424,7 @@ var (
Namespace: caNamespace, Namespace: caNamespace,
Name: "binpacking_heterogeneity", Name: "binpacking_heterogeneity",
Help: "Number of groups of equivalent pods being processed as a part of the same binpacking simulation.", Help: "Number of groups of equivalent pods being processed as a part of the same binpacking simulation.",
Buckets: []float64{1, 2, 4, 6, 10}, Buckets: k8smetrics.ExponentialBuckets(1, 2, 6), // 1, 2, 4, ..., 32
}, []string{"instance_type", "cpu_count", "namespace_count"}, }, []string{"instance_type", "cpu_count", "namespace_count"},
) )
) )