Skip to content

Commit

Permalink
Remove loggers
Browse files Browse the repository at this point in the history
  • Loading branch information
marctc committed Nov 17, 2023
1 parent 4874bfb commit 7b36a49
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions storage/remote/queue_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 7b36a49

Please sign in to comment.