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:
parent
99121ebf42
commit
deec4b7fbd
|
@ -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"},
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue