davidmparrott / kafka_exporter Goto Github PK
View Code? Open in Web Editor NEWThis project forked from danielqsj/kafka_exporter
Kafka exporter for Prometheus
License: Apache License 2.0
This project forked from danielqsj/kafka_exporter
Kafka exporter for Prometheus
License: Apache License 2.0
"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.
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; "
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.