kafka_connect_exporter
kafka_connect_exporter copied to clipboard
Unable to get metrics
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"