You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by happymap <gi...@git.apache.org> on 2016/02/12 00:17:31 UTC

[GitHub] kafka pull request: KAFKA-3233: expose per topic consumer metrics ...

GitHub user happymap opened a pull request:

    https://github.com/apache/kafka/pull/905

    KAFKA-3233: expose per topic consumer metrics to metrics reporter

    In version of 0.8.2.1, the old consumer will provide the metrics reporter per-topic consumer metrics under group 'ConsumerTopicMetrics'. For example:
    
    *.ConsumerTopicMetrics.clientId.[topic name].BytesPerSec.count
    *.ConsumerTopicMetrics.clientId.[topic name].MessagesPerSec.count
    
    These consumer metrics are useful since it provides consumer rate for each topic. But the new consumer(0.9.0.0) doesn't expose per topic metrics anymore, even though I did find sensor objects in consumer metrics object collecting per-topic metrics.
    
    After investigation, I found that these sensors don't register any KafkaMetrics.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/happymap/kafka KAFKA-3233

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/905.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #905
    
----
commit b813a7cc48963ae2e1aa8f25362811fcaed28f10
Author: Yifan Ying <yy...@fitbit.com>
Date:   2016-02-11T23:15:16Z

    KAFKA-3233: expose per topic consumer metrics to metrics reporter

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] kafka pull request: KAFKA-3233: expose per topic consumer metrics ...

Posted by happymap <gi...@git.apache.org>.
Github user happymap closed the pull request at:

    https://github.com/apache/kafka/pull/905


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---