diff --git a/pkg/storage/ingest/fetcher_test.go b/pkg/storage/ingest/fetcher_test.go index c20040a5265..5eda6a258e1 100644 --- a/pkg/storage/ingest/fetcher_test.go +++ b/pkg/storage/ingest/fetcher_test.go @@ -923,7 +923,9 @@ func TestConcurrentFetchers(t *testing.T) { logger := log.NewNopLogger() reg := prometheus.NewPedanticRegistry() - metrics := newReaderMetrics(partitionID, reg) + metrics := newReaderMetrics(partitionID, reg, func() float64 { + return 0 + }) client := newKafkaProduceClient(t, clusterAddr)