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

Aditya Auradkar commented on KAFKA-2156:
----------------------------------------

[~junrao] Do we want to support this change on YM? Once we migrate our metrics 
to KM, it's pretty easy to register custom metrics (anything that implements 
MeasurableStat for example). 

> Possibility to plug in custom MetricRegistry
> --------------------------------------------
>
>                 Key: KAFKA-2156
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2156
>             Project: Kafka
>          Issue Type: Improvement
>          Components: producer 
>    Affects Versions: 0.8.1.2
>            Reporter: Andras Sereny
>            Assignee: Jun Rao
>
> The trait KafkaMetricsGroup refers to Metrics.defaultRegistry() throughout. 
> It would be nice to be able to inject any MetricsRegistry instead of the 
> default one. 
> (My usecase is that I'd like to channel Kafka metrics into our application's 
> metrics system, for which I'd need custom implementations of 
> com.yammer.metrics.core.Metric.)



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

Reply via email to