Skip to content

Commit

Permalink
Bloom gateway: Fix metric for fetched blocks (grafana#11988)
Browse files Browse the repository at this point in the history
This PR fixes the metric for fetched blocks 

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
  • Loading branch information
chaudum authored and rhnasc committed Apr 12, 2024
1 parent 2a98f8d commit f24f36c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/bloomgateway/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (p *processor) processBlocks(ctx context.Context, data []blockWithTasks) er
if err != nil {
return err
}
p.metrics.metasFetched.WithLabelValues(p.id).Observe(float64(len(bqs)))
p.metrics.blocksFetched.WithLabelValues(p.id).Observe(float64(len(bqs)))

blockIter := v1.NewSliceIter(bqs)

Expand Down

0 comments on commit f24f36c

Please sign in to comment.