Hi, Not sure what you are using to get the data out, but if you use SPM <http://sematext.com/spm/integrations/kafka-monitoring.html> you don't have to worry about any of that... assuming you use either 0.7.x or 0.8.2.x. Kafka metrics have changed drastically in the past and it looks like more changes are ahead, so whatever custom you use now will need to be changed when you update to Kafka with new metrics (format).
Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr & Elasticsearch Support * http://sematext.com/ On Mon, Apr 20, 2015 at 3:00 PM, Saladi Naidu <naidusp2...@yahoo.com.invalid > wrote: > We are planning to monitor health of our Kafka environment using JMX. I > have looked at below links to find what is available via > > https://cwiki.apache.org/confluence/display/KAFKA/Available+Metrics > https://cwiki.apache.org/confluence/display/KAFKA/JMX+Reporters > > why some of the kafka objects ("kafka.cluster", "kafka.consumer" etc are > written with an additional " ? > > E.g "kafka.server":type="BrokerTopicMetrics",name="AllTopicsBytesInPerSec" Vs > the normal Mbeans are just something like this: > > java.lang:type=GarbageCollector,name=ConcurrentMarkSweep > > We are not successful in calling objects that have "" in their > names. Naidu Saladi >