You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Mathias Kub (JIRA)" <ji...@apache.org> on 2018/08/09 12:34:00 UTC

[jira] [Created] (KAFKA-7265) Broker and consumer metrics topic names are reported differently

Mathias Kub created KAFKA-7265:
----------------------------------

             Summary: Broker and consumer metrics topic names are reported differently
                 Key: KAFKA-7265
                 URL: https://issues.apache.org/jira/browse/KAFKA-7265
             Project: Kafka
          Issue Type: Bug
          Components: consumer
    Affects Versions: 1.1.0
            Reporter: Mathias Kub


Hi,

I noticed that the *topic* attribute value of kafka.consumer:consumer-fetch-manager-metrics reported differently than for kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec.

For kafka.consumer:consumer-fetch-manager-metrics *.* (dots) are replaced by *_* (underscores), but this is not true for e.g. kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec.

I am currently using the metrics for monitoring, extracting *topic* of kafka.consumer:consumer-fetch-manager-metrics and displaying kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec for the given topic which does not work in that case.

Please also see https://github.com/apache/kafka/pull/4362#discussion_r203435388.

Thanks,
Mathias



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)