From eebf7ac1fc8ce6473e2c9cff8c02b438e32d13ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Pazos?= Date: Tue, 3 Oct 2023 14:51:30 -0300 Subject: [PATCH] fix: queue manager to include float histograms in new requests --- storage/remote/queue_manager.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/storage/remote/queue_manager.go b/storage/remote/queue_manager.go index 6319bb31c8..806543f744 100644 --- a/storage/remote/queue_manager.go +++ b/storage/remote/queue_manager.go @@ -1629,6 +1629,9 @@ func (s *shards) populateReducedTimeSeries(pool *lookupPool, batch []timeSeries, case tHistogram: pendingData[nPending].Histograms = append(pendingData[nPending].Histograms, HistogramToHistogramProto(d.timestamp, d.histogram)) nPendingHistograms++ + case tFloatHistogram: + pendingData[nPending].Histograms = append(pendingData[nPending].Histograms, FloatHistogramToHistogramProto(d.timestamp, d.floatHistogram)) + nPendingHistograms++ } } return nPendingSamples, nPendingExemplars, nPendingHistograms