Skip to content

Commit

Permalink
Bloom gateway: Fix metric for fetched blocks (#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 Feb 19, 2024
1 parent 85f7baa commit 38c09a0
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 38c09a0

Please sign in to comment.