From cef7585fc2d798afc99f47244bbb87b105ffaace Mon Sep 17 00:00:00 2001 From: Ben Ye Date: Thu, 12 Oct 2023 00:10:14 -0700 Subject: [PATCH] use larger histogram bucket for thanos_bucket_store_series_result_series metric Signed-off-by: Ben Ye --- pkg/store/bucket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/store/bucket.go b/pkg/store/bucket.go index 10260805e6..d35eba996d 100644 --- a/pkg/store/bucket.go +++ b/pkg/store/bucket.go @@ -232,7 +232,7 @@ func newBucketStoreMetrics(reg prometheus.Registerer) *bucketStoreMetrics { m.resultSeriesCount = promauto.With(reg).NewHistogramVec(prometheus.HistogramOpts{ Name: "thanos_bucket_store_series_result_series", Help: "Number of series observed in the final result of a query.", - Buckets: prometheus.ExponentialBuckets(1, 2, 15), + Buckets: prometheus.ExponentialBuckets(100, 2, 15), // From 100 to 1638400. }, []string{tenancy.MetricLabel}) m.chunkSizeBytes = promauto.With(reg).NewHistogramVec(prometheus.HistogramOpts{