From 115087573e541d42b42b33a795427fe47c378919 Mon Sep 17 00:00:00 2001 From: Dmitrii Bobrovskii <148070131+dmitrii-sisutech@users.noreply.github.com> Date: Thu, 11 Jan 2024 12:07:01 +0200 Subject: [PATCH] Increase first bucket size --- .../pkg/recommender/model/aggregations_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vertical-pod-autoscaler/pkg/recommender/model/aggregations_config.go b/vertical-pod-autoscaler/pkg/recommender/model/aggregations_config.go index aa3aa54c1ef4..2996fcdbeb53 100644 --- a/vertical-pod-autoscaler/pkg/recommender/model/aggregations_config.go +++ b/vertical-pod-autoscaler/pkg/recommender/model/aggregations_config.go @@ -91,7 +91,7 @@ func (a *AggregationsConfig) cpuHistogramOptions() util.HistogramOptions { // size of 0.01 core, max of 1000.0 cores and the relative error of HistogramRelativeError. // // When parameters below are changed SupportedCheckpointVersion has to be bumped. - options, err := util.NewExponentialHistogramOptions(1000.0, 0.01, 1.+a.HistogramBucketSizeGrowth, epsilon) + options, err := util.NewExponentialHistogramOptions(1000.0, 0.001, 1.+a.HistogramBucketSizeGrowth, epsilon) if err != nil { panic("Invalid CPU histogram options") // Should not happen. }