prometheus-kafka-consumer-group-exporter icon indicating copy to clipboard operation
prometheus-kafka-consumer-group-exporter copied to clipboard

Consumer exporter for kafka having high cpu load

Open Cornell123 opened this issue 6 years ago • 2 comments

Running this exporter increase cpu utilisation to maximum. ./kafka_consumer_group_exporter --consumer-group-command-path=/home/ubuntu/kafka_2.12-0.10.2.0/bin/kafka-consumer-groups.sh localhost:9092 &

Let me know , if i am missing anything here I tried running this exporter on 2 core machine, it spikes up the cpu utilisation to 100%. Similarly tried on 4 core box. Cpu eventually going up to 100%.

Also found that, if i try to run this exporter another box. Metrics not fetched

./kafka_consumer_group_exporter --consumer-group-command-path=/home/ubuntu/kafka_2.12-0.10.2.0/bin/kafka-consumer-groups.sh 192.168.0.1:9092

Telnet on the host 192.168.0.1:9092 is connected

Cornell123 avatar Jan 03 '18 12:01 Cornell123

@Cornell123 I'm sorry, are the two issues related? If not, file separate issues so we can track them separately. Thanks.

JensRantil avatar Jan 03 '18 15:01 JensRantil

Raised separate ticket for fetching metrics from remote host.

#53 is for high cpu load issue.

Summary of issue: Running this exporter increase cpu utilisation to maximum. ./kafka_consumer_group_exporter --consumer-group-command-path=/home/ubuntu/kafka_2.12-0.10.2.0/bin/kafka-consumer-groups.sh localhost:9092 &

Let me know , if i am missing anything here.

I tried running this exporter on 2 core machine, it spikes up the cpu utilisation to 100%. Similarly tried on 4 core box. Cpu eventually going up to 100%.

Cornell123 avatar Jan 03 '18 15:01 Cornell123