Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get metrics #5

Open
mithun0119 opened this issue Apr 30, 2020 · 0 comments
Open

Unable to get metrics #5

mithun0119 opened this issue Apr 30, 2020 · 0 comments

Comments

@mithun0119
Copy link

Hi,
I am getting the following error when I try to access. I tried the default port and my own port too. It runs, but when I use the url on a browser, it fails with the below error. The system runs confluent-kafka-connect and the port 7070 is free for sure. Any help would be much appreciated. Thanks.

./kafka_connect_exporter-linux-amd64 -listen-address ":7070" -scrape-uri "http://127.0.0.1:7070" -telemetry-path "/metrics"
INFO[0000] Starting kafka_connect_exporter source="kafka_connect_exporter.go:210"
INFO[0000] Collecting data from: http://127.0.0.1:7070 source="kafka_connect_exporter.go:168"
2020/04/30 06:50:28 http: Accept error: accept tcp [::]:7070: accept4: too many open files; retrying in 5ms
ERRO[0007] Can't scrape kafka connect: Get http://127.0.0.1:7070/connectors: dial tcp 127.0.0.1:7070: socket: too many open files source="kafka_connect_exporter.go:78"
ERRO[0007] Can't scrape kafka connect: invalid character '#' looking for beginning of value source="kafka_connect_exporter.go:97"
ERRO[0007] Can't scrape kafka connect: invalid character '#' looking for beginning of value source="kafka_connect_exporter.go:97"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant