-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get any kafka_consumergroup metrics from Kafka exporter #409
Comments
We have the same problem. Previously, everything worked correctly, until the partitions of most topics were rebalanced. It looks like the processing of all responses is not entirely correct. kafka_exporter/kafka_exporter.go Lines 593 to 595 in b66d284
If you look at the values of the group.GroupId/group.GroupMembers/group variables, you can see, that their values may differ. Some of these values in our case:
Most likely this leads to the following errors:
|
Looked more detail, in the GroupDescription structure there are Err/ErrorCode fields, that are not checked by the exporter for errors in the Kafka response. Therefore, the exporter always believes, that the answer is correct, which sometimes leads to collisions in the metric. kafka_exporter/kafka_exporter.go Lines 571 to 595 in b66d284
kafka_exporter/vendor/github.com/Shopify/sarama/describe_groups_response.go Lines 78 to 81 in b66d284
|
Actually, adding the following check resolves the metric error.
|
Closed by #441 |
We had the same problem, and even when we upgraded the exporter to version 1.8.0 (which incorporates the fixes on PR #441) we continued not getting the kafka_consumergroup metrics. The temporary fix was to restart Kafka cluster. Can someone help identify the real problem here? |
Same issue for me... Getting
Running v1.8.0 |
We are running kafka exporter and prometheus-to-sd containers on single pod on GKE. Till 13th Sep, exporter was working fine, suddenly it stopped exporting consumer related metrics(consumer lag, consumer member etc).
Below results without passing argument " --group.filter='.+' "
Below results after adding argument " --group.filter='.+' " but it dont have consumer metrics
Please find the exporter details.
Please note, same exporter is working on other 3 kafka clusters and getting lag details.
So far I have taken below actions:
Please help me if anyone has come across the same issue and able to overcome.
The text was updated successfully, but these errors were encountered: