diff --git a/receiver/prometheusreceiver/metrics_receiver.go b/receiver/prometheusreceiver/metrics_receiver.go index ae7b4de92f45..cc4db111bcce 100644 --- a/receiver/prometheusreceiver/metrics_receiver.go +++ b/receiver/prometheusreceiver/metrics_receiver.go @@ -167,7 +167,7 @@ func (r *pReceiver) initPrometheusComponents(ctx context.Context, logger *slog.L Set(reflect.ValueOf(true)) } - scrapeManager, err := scrape.NewManager(opts, logger, store, r.registerer) + scrapeManager, err := scrape.NewManager(opts, logger, nil, store, r.registerer) if err != nil { return err }