Hello Tom, Currently only the client-side packages are using o.a.k.common.metrics for metrics reporting, for broker-side metrics (including LeaderElectionRateAndTimeMs), they are still implemented on yammer metrics ( com.yammer.metrics).
Guozhang On Mon, Jul 3, 2017 at 4:20 AM, Tom Dearman <tom.dear...@gmail.com> wrote: > I have implemented org.apache.kafka.common.metrics.MetricsReporter and > set it up using metric.reporters in the server properties. I don’t see all > the metrics that I was expecting, for example I don’t see > ‘LeaderElectionRateAndTimeMs’. There seems to be another reporter you can > implement and then register on kafka.metrics.reporters. What is the > difference between the metrics of the first and the second, and is it > expected that I don’t see all metrics with the first. > > Tom -- -- Guozhang