FYI.. We wrote a library that is essentially the exact same thing as metrics. The only reason we didn't use metrics was because it didn't exist yet. There is a graphite reporter which could be purposed for metrics.
https://github.com/ticketfly/pillage https://github.com/Ticketfly/pillage/blob/master/pillage-core/src/main/java/com/ticketfly/pillage/GraphiteStatsReporter.java -Andrew On Fri, Aug 23, 2013 at 7:49 AM, Jun Rao <jun...@gmail.com> wrote: > That would be great. Thanks, > > Jun > > > On Fri, Aug 23, 2013 at 7:04 AM, Andrew Otto <o...@wikimedia.org> wrote: > > > Jun, > > > > Note that the puppet module README I liked to isn't a full jmxtrans > > example JSON query. It is a jmxtrans puppet module usage example. So, > > using that in puppet will generate a .json file containing the query. > > > > We'll be moving to 0.8 in the next coming months, and I'll try to get > some > > real examples of Kafka 0.8 jmxtrans JSON queries up for you when we do. > > > > > > On Aug 22, 2013, at 11:55 PM, Jun Rao <jun...@gmail.com> wrote: > > > > > I added a JMX reporter wiki page: > > > https://cwiki.apache.org/confluence/display/KAFKA/JMX+Reporters , > which > > is > > > linked from our main wiki page. > > > > > > Could you add a short description (including the supported version) > and a > > > link there? > > > > > > Thanks, > > > > > > Jun > > > > > > > > > On Thu, Aug 22, 2013 at 8:42 AM, Maxime Brugidou > > > <maxime.brugi...@gmail.com>wrote: > > > > > >> Hi all, > > >> > > >> Since I couldn't find any other way to publish kafka metrics to > ganglia > > >> from kafka 0.8 (beta), I just published on github a super-simple > ganglia > > >> metrics reporter for Kafka. It is configurable through the kafka > config > > >> file and you can use it on the broker side and on your > > consumers/producers. > > >> There is also a feature to exclude some metrics with a regex (useful > if > > you > > >> have many topics/partions). > > >> > > >> Here it is on github: https://github.com/criteo/kafka-ganglia > > >> > > >> Let me know if you have issues/questions. This is using > metrics-ganglia > > >> 2.2.0 directly so it is not a ganglia plugin but rather a kafka > > "add-on". > > >> > > >> I don't know the proper way to distribute this yet for installation on > > >> brokers, it could also be part of some contrib kafka code. > > >> > > >> Cheers, > > >> Maxime > > >> > > > > >