[ https://issues.apache.org/jira/browse/KAFKA-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17732693#comment-17732693 ]
Kirk True commented on KAFKA-3881: ---------------------------------- We have a user running into this issue. It appears that only the fetcher-related metrics are the metrics that preemptively convert {{.}} to {{{}_{}}}. My initial research lead me down the path to the fetcher metric names, which looks to jive with the direction of [~tombentley] and [~dbrinegar]'s solutions in their respective pull requests. > Remove the replacing logic from "." to "_" in Fetcher > ----------------------------------------------------- > > Key: KAFKA-3881 > URL: https://issues.apache.org/jira/browse/KAFKA-3881 > Project: Kafka > Issue Type: Bug > Components: consumer, metrics > Reporter: Guozhang Wang > Assignee: Tom Bentley > Priority: Major > Labels: newbie, patch-available > > The logic of replacing "." to "_" in metrics names / tags was originally > introduced in the core package's metrics since Graphite treats "." as > hierarchy separators (see KAFKA-1902); for the client metrics, it is supposed > that the GraphiteReported should take care of this itself rather than letting > Kafka metrics to special handle for it. In addition, right now only consumer > Fetcher had replace, but producer Sender does not have it actually. > So we should consider removing this logic in the consumer Fetcher's metrics > package. NOTE that this is a public API backward incompatible change. -- This message was sent by Atlassian Jira (v8.20.10#820010)