Giter Club home page Giter Club logo

kafka_connect_exporter's Issues

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"

Getting An error has occurred during metrics gathering:

HI, I have setup kafka_connect_exporter, it was working fine, suddenly got an error on all brokers, which is define below. I have setup this in centos 7 and defined the service as:

cat /etc/systemd/system/kafka_connect_exporter.service
[Unit]
Description=Kafka Connect Exporter

[Service]
User=kafka_connect_exporter
ExecStart=/usr/local/bin/kafka_connect_exporter
-scrape-uri "http://10.51.12.30:8083"
--listen-address ":9194"

SyslogIdentifier=kafka_exporter
Restart=always
RestartSec=90
StartLimitInterval=400
StartLimitBurst=3

[Install]
WantedBy=multi-user.target

When I curl, getting below exception:

An error has occurred during metrics gathering:

2 error(s) occurred:

  • collected metric kafka_connect_connector_tasks_state_running label:<name:"connector" value:"elastic-sink-connect-02" > label:<name:"state" value:"running" > label:<name:"worker_id" value:"10.51.12.223:8083" > gauge:<value:1 > was collected before with the same name and label values
  • collected metric kafka_connect_connector_tasks_state_running label:<name:"connector" value:"elastic-sink-connect-02" > label:<name:"state" value:"running" > label:<name:"worker_id" value:"10.51.12.30:8083" > gauge:<value:1 > was collected before with the same name and label values
    [root@data-pipeline-kafka-prod-2 log]# debug1: client_input_channel_req: channel 0 rtype [email protected] reply 1

Docker image

Are there any plans, releasing a docker image of the exporter?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.