[
https://issues.apache.org/jira/browse/KAFKA-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14295435#comment-14295435
]
Jun Rao commented on KAFKA-1902:
--------------------------------
It seems that the ganglia reporter replaces anything other than alpha-numeric,
-, _ and dot to _ in the metric name. So, we can't put in chars like $ and = in
scope. So, followed the suggestion by (1) using the dot convention; (2)
replacing dot in tag value with _; (3) sort all tags alphabetically.
So, scope will look like
clientid.myclientid.topic.mytopic
clientid.myclientId_with_dot.topic.mytopic_with_dot
Jason, Kyle,
Could you verify the patch? Thanks,
> fix MetricName so that Yammer reporter can work correctly
> ---------------------------------------------------------
>
> Key: KAFKA-1902
> URL: https://issues.apache.org/jira/browse/KAFKA-1902
> Project: Kafka
> Issue Type: Bug
> Components: core
> Reporter: Jun Rao
> Assignee: Jun Rao
> Priority: Blocker
> Fix For: 0.8.2
>
> Attachments: kafka-1902.patch, kafka-1902_2015-01-28_09:23:51.patch
>
>
> Currently, we create MetricName in the following format.
> group: "kafka.server"
> type: "BrokerTopicMetrics"
> name: "BytesInPerSec"
> scope: null
> mBeanName:
> "kafka.server:type=BrokerTopicMetrics,name=BytesInPerSec,topic=test"
> However, Yammer metric reporter seems to only use the first four fields
> group, type, name and scope during reporting.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)