Each broker will only report metrics for the partitions that exist on that broker. In order to get a global view of metrics, you will need to collect metrics from all brokers.
Thanks, Neha On Wed, Sep 18, 2013 at 3:07 PM, Vimpy Batra <vimpyba...@yahoo.com> wrote: > In case there are multiple brokers, is there an overlap in the metric > values they report? Let's say a topic is partitioned onto multiple broker > nodes and we want topic level metrics. Will all the brokers be reporting > the same value? > Should we tap into one broker to get all the metrics or do we need to > capture metrics from all the brokers? > > Thanks > > > On Sep 18, 2013, at 2:55 PM, Neha Narkhede <neha.narkh...@gmail.com> > wrote: > > > If you start a Kafka broker, it should start reporting metrics > > automatically. But I'm not sure if I understood your question completely. > > Can you elaborate on what problem you saw with metrics collection? > > > > Thanks, > > Neha > > > > > > On Wed, Sep 18, 2013 at 2:20 PM, Vimpy Batra <vimpyba...@yahoo.com> > wrote: > > > >> Hi, > >> > >> I am using Kafka-0.8 and have a module to write metrics to Graphite. I > >> have a multi node cluster and was wondering if I need to enable metrics > >> reporting on all of them. Any advice will be helpful. > >> > >> Thanks, > >> > >> >