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)