Skip to content

Commit

Permalink
Use nil for ScrapeManager's scrapeErrorFileLogger
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Silva Sens <[email protected]>
  • Loading branch information
ArthurSens committed Jan 10, 2025
1 parent 54dfbcc commit 3bc3e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/prometheusreceiver/metrics_receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 3bc3e87

Please sign in to comment.