[ 
https://issues.apache.org/jira/browse/KAFKA-3233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15154624#comment-15154624
 ] 

ASF GitHub Bot commented on KAFKA-3233:
---------------------------------------

GitHub user happymap opened a pull request:

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

    KAFKA-3233: expose consumer per-topic metrics

    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 helps us monitor 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 are not registering 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/939.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 #939
    
----
commit c0ca957a40b3a946aae1e00e3dd8a899c36ed5d0
Author: Yifan Ying <yy...@fitbit.com>
Date:   2016-02-19T18:37:08Z

    KAFKA-3233: expose consumer per-topic metrics

----


> Per topic consumer metrics missing in new consumer's metrics reporter
> ---------------------------------------------------------------------
>
>                 Key: KAFKA-3233
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3233
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Yifan Ying
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to