@@ -430,8 +430,8 @@ func WrapWithMetrics(b Bucket, reg prometheus.Registerer, name string) *metricBu
430430 ConstLabels : prometheus.Labels {"bucket" : name },
431431 Buckets : prometheus .ExponentialBuckets (2 << 14 , 2 , 16 ), // 32KiB, 64KiB, ... 1GiB
432432 // Use factor=2 for native histograms, which gives similar buckets as the original exponential buckets.
433- NativeHistogramBucketFactor : 2 ,
434- NativeHistogramMaxBucketNumber : 100 ,
433+ NativeHistogramBucketFactor : 2 ,
434+ NativeHistogramMaxBucketNumber : 100 ,
435435 NativeHistogramMinResetDuration : 1 * time .Hour ,
436436 }, []string {"operation" }),
437437
@@ -441,8 +441,8 @@ func WrapWithMetrics(b Bucket, reg prometheus.Registerer, name string) *metricBu
441441 ConstLabels : prometheus.Labels {"bucket" : name },
442442 Buckets : []float64 {0.001 , 0.01 , 0.1 , 0.3 , 0.6 , 1 , 3 , 6 , 9 , 20 , 30 , 60 , 90 , 120 },
443443 // Use the recommended defaults for native histograms with 10% growth factor.
444- NativeHistogramBucketFactor : 1.1 ,
445- NativeHistogramMaxBucketNumber : 100 ,
444+ NativeHistogramBucketFactor : 1.1 ,
445+ NativeHistogramMaxBucketNumber : 100 ,
446446 NativeHistogramMinResetDuration : 1 * time .Hour ,
447447 }, []string {"operation" }),
448448
0 commit comments