From 9407534e3bbea10aaed12d282b118457dbdc58a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=8C=B2=20Harry=20=F0=9F=8C=8A=20John=20=F0=9F=8F=94?= Date: Thu, 26 Oct 2023 08:57:00 -0700 Subject: [PATCH] Update buckets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 🌲 Harry 🌊 John 🏔 --- pkg/block/indexheader/binary_reader.go | 2 +- pkg/store/bucket.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/block/indexheader/binary_reader.go b/pkg/block/indexheader/binary_reader.go index 5d7c9610670..acc3f4132fa 100644 --- a/pkg/block/indexheader/binary_reader.go +++ b/pkg/block/indexheader/binary_reader.go @@ -78,7 +78,7 @@ func NewBinaryReaderMetrics(reg prometheus.Registerer) *BinaryReaderMetrics { downloadDuration: promauto.With(reg).NewHistogram(prometheus.HistogramOpts{ Name: "indexheader_download_duration_seconds", Help: "Duration of the index-header download from objstore in seconds.", - Buckets: []float64{0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 1, 2, 5, 15, 30, 60, 90, 120, 300}, + Buckets: []float64{0.1, 0.2, 0.5, 1, 2, 5, 15, 30, 60, 90, 120, 300}, }), loadDuration: promauto.With(reg).NewHistogram(prometheus.HistogramOpts{ Name: "indexheader_load_duration_seconds", diff --git a/pkg/store/bucket.go b/pkg/store/bucket.go index 681a11be180..a5737fe5edb 100644 --- a/pkg/store/bucket.go +++ b/pkg/store/bucket.go @@ -189,7 +189,7 @@ func newBucketStoreMetrics(reg prometheus.Registerer) *bucketStoreMetrics { m.blockLoadDuration = promauto.With(reg).NewHistogram(prometheus.HistogramOpts{ Name: "thanos_bucket_store_block_load_duration_seconds", Help: "The total time taken to load a block in seconds.", - Buckets: []float64{0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 1, 2, 5, 15, 30, 60, 90, 120, 300}, + Buckets: []float64{0.1, 0.2, 0.5, 1, 2, 5, 15, 30, 60, 90, 120, 300}, }) m.seriesDataTouched = promauto.With(reg).NewHistogramVec(prometheus.HistogramOpts{ Name: "thanos_bucket_store_series_data_touched",