danielqsj / kafka_exporter

Kafka exporter for Prometheus
Apache License 2.0
2.18k stars 610 forks source link

Scrape takes a very long time #377

Open psmoot opened 1 year ago

psmoot commented 1 year ago

I just pulled the latest Docker image and configured it to scrape a three-broker cluster. The exporter is running in California and the brokers are in North Carolina, should network latency be a consideration.

I can run kafkacat -L and list 3,000 topics and offsets in less than a second. When I scrape using the exporter, it takes more like 30 minutes. I don't see any errors in the log.

Any idea what I'm doing wrong?