Skip to content

Commit

Permalink
Remove excessive logging
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
  • Loading branch information
chaudum committed Apr 24, 2024
1 parent cdda508 commit b6447eb
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions pkg/bloomgateway/querier.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,29 +124,6 @@ func (bq *BloomQuerier) FilterChunkRefs(ctx context.Context, tenant string, from
"skipped", len(skipped),
)

var seriesInBlocks int
var chunksInBlocks int
for _, b := range blocks {
seriesInBlocks += len(b.series)
for _, s := range b.series {
chunksInBlocks += len(s.Refs)
}
}
var chunksSkipped int
for _, s := range skipped {
chunksSkipped += len(s.Refs)
}
level.Debug(bq.logger).Log(
"msg", "debug skipped series",
"day", s.day.String(),
"series_total", len(s.series),
"series_in_blocks", seriesInBlocks,
"series_skipped", len(skipped),
"chunks_total", chunks,
"chunks_in_blocks", chunksInBlocks,
"chunks_skipped", chunksSkipped,
)

refs, err := bq.c.FilterChunks(ctx, tenant, s.interval, blocks, queryPlan)
if err != nil {
return nil, err
Expand Down

0 comments on commit b6447eb

Please sign in to comment.