kafka_exporter icon indicating copy to clipboard operation
kafka_exporter copied to clipboard

kafka_consumergroup_current_offset and kafka_consumergroup_lag not display in metrics

Open double-yaya opened this issue 3 years ago • 6 comments

kafka_exporter-1.4.2 kafka version is 2.8.1 the problem is: kafka_consumergroup_current_offset and kafka_consumergroup_lag not display in metrics page, any suggest?

double-yaya avatar Dec 29 '21 04:12 double-yaya

@double-yaya Are you using "group.filter"?

mfvanek avatar Jan 26 '22 08:01 mfvanek

I also hit these issue. My env: kafka_exporter-1.4.2 or kafka_exporter-1.4 kafka version is 2.0.0 No matter using group.filter or no using group.filter

jetgm avatar Mar 31 '22 09:03 jetgm

Same problem, do you resolve that @double-yaya? Currently I'm using latest version of Exporter: kafka_exporter_build_info{branch="master",goversion="go1.19",revision="c021e94dfb808e642d41064c6550cbba87fe30c6",version="1.6.0"} with Kafka version 3.2. Implementation is inside AKS (I based on helm deployment) but looks like it doesn't matter.


Resolved! Problem was with used listener ("no such host" in kafka exporter logs). By default I take standard port which I use for other consumers (9092) but returned hosts for brokers was not accessible from internal network (such domain is use only for external connection). I just switch into internal listener which one is working on different port and consumer metrics back.

bar-dzi avatar Sep 23 '22 14:09 bar-dzi

use kafka_consumergroup_uncommitted_offsets monitoring lags

hatmen avatar Aug 14 '23 13:08 hatmen

@double-yaya hi,I think you never have a consumer group that consums data successfully. Once consumed, these indicators are available~

pflong avatar Oct 31 '23 08:10 pflong