From 7b36a49504fa1875f6e2cd53f024c9b45b518ac8 Mon Sep 17 00:00:00 2001 From: Marc Tuduri Date: Fri, 17 Nov 2023 16:51:55 +0100 Subject: [PATCH] Remove loggers --- storage/remote/queue_manager.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/storage/remote/queue_manager.go b/storage/remote/queue_manager.go index 0fce2cd79e2..e9f73f7fb4c 100644 --- a/storage/remote/queue_manager.go +++ b/storage/remote/queue_manager.go @@ -611,7 +611,6 @@ outer: for _, s := range samples { if isSampleOld(time.Duration(t.cfg.SampleAgeLimit), s.T) { t.metrics.droppedSamplesTotal.Inc() - level.Info(t.logger).Log("msg", "Dropped sample due to age", "ref", s.Ref) continue } t.seriesMtx.Lock() @@ -668,7 +667,6 @@ outer: for _, e := range exemplars { if isSampleOld(time.Duration(t.cfg.SampleAgeLimit), e.T) { t.metrics.droppedExemplarsTotal.Inc() - level.Info(t.logger).Log("msg", "Dropped exemplar due to age", "ref", e.Ref) continue } t.seriesMtx.Lock() @@ -722,7 +720,6 @@ outer: for _, h := range histograms { if isSampleOld(time.Duration(t.cfg.SampleAgeLimit), h.T) { t.metrics.droppedHistogramsTotal.Inc() - level.Info(t.logger).Log("msg", "Dropped histogram sample due to age", "ref", h.Ref) continue } t.seriesMtx.Lock() @@ -774,7 +771,6 @@ outer: for _, h := range floatHistograms { if isSampleOld(time.Duration(t.cfg.SampleAgeLimit), h.T) { t.metrics.droppedHistogramsTotal.Inc() - level.Info(t.logger).Log("msg", "Dropped histogram sample due to age", "ref", h.Ref) continue } t.seriesMtx.Lock()