Unable to gather service=scraper

Hi I ve running influxdb (2.7.5) in a docker container.
I get every 10 seconds this message

ts=2024-09-16T17:19:42.079785Z lvl=error msg=“Unable to gather” log_id=0reXMdyG000 service=scraper scraper-name=“new target” error=“Get "http://localhost:36358/metrics\”: dial tcp 127.0.0.1:36358: connect: connection refused"

But I dont have created any scrapers

I ve also tried to create a scraper with this tartget URL http://localhost:36358/metrics
but nothing changed.

Can someone give me a hint.

thanks a lot

Hello @shb256,
That’s odd!
can you use the InfluxDB CLI to check for scrapers:

influx get scrapers

And

influx delete scrapers --id <scraper_id>

Also the error suggests that InfluxDB is trying to scrape data from http://localhost:36358/metrics, which could imply that it’s trying to gather metrics from a service running on your Docker host. Can you:
verify whether there are any services supposed to expose metrics on that port (36358). If not, the target could be wrong.

Also you could inspect influxdb logs
influxd --log-level debug