GithubHelp home page GithubHelp logo

davidmparrott / kafka_exporter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danielqsj/kafka_exporter

10.0 1.0 1.0 16.47 MB

Kafka exporter for Prometheus

License: Apache License 2.0

Makefile 4.43% Go 91.96% Dockerfile 0.49% Jsonnet 0.76% Mustache 2.35%

kafka_exporter's Issues

"kafka_consumergroup_lag" is missing in metrics

"kafka_consumergroup_lag" metric is not exposed by this exporter but it is documented as something that should exist.

Please fix the exporter to include "kafka_consumergroup_lag" metric, or adjust the documentation to reflect the metrics that are exposed.

Grafana Agent kafka_exporter failing with timeout

Hi,

We have installed Grafana Agent and enabled kafka_exporter to scrape metrics from one of our broker which is having high load.
We are getting timeout due to calculation of consumer lag and offsets, even after increasing the scrape_timeout to more than 5 mins .

But when we disabled (using group_filter) we able to fetch the metrics around 200,000 metrics for every scrape.

Please suggest reg the timeout when it's calculating lag & offset which we are suspecting that for every scrape it may pull 500,000 metrics.

Grafana Agent Config For your Reference :
server:
http_listen_address: 127.0.0.1
http_listen_port: 9090
prometheus:
wal_directory: /var/lib/agent
global:
scrape_interval: 10m
scrape_timeout: 9m
remote_write:
- url: <CORTEX_URL>
basic_auth:
username: <CORTEX_TENANT>
password: <CORTEX_PWD>
integrations:
agent:
enabled: true
node_exporter:
enabled: true
include_exporter_metrics: true
disable_collectors:
- mdadm
kafka_exporter:
enabled: true
kafka_uris: [localhost:9094]

Error:
level=warn msg="GET /integrations/kafka_exporter/metrics 35.859912977s, error: write tcp 127.0.0.1:9090->127.0.0.1:34176: i/o timeout ws: false; Accept: application/openmetrics-text; version=0.0.1,text/plain;version=0.0.4;q=0.5,/;q=0.1; Accept-Encoding: gzip; User-Agent: Prometheus/v0.22.0; X-Prometheus-Scrape-Timeout-Seconds: 540; "

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.