Good morning. What is the best way to monitor kafka through jmx or by enabling kafka.csv.metrics.reporter.enabled? What are the important metrics in JMX to watch for and/or graph? What are the important metrics in csv files to watch for and/or graph?
CSVreporter is probably not an ideal fit for production monitoring - we use it for getting stats out of period system test runs.
For production monitoring you are probably better off reading off JMX and feeding your monitoring system of choice. You can also write a custom metrics reporter and additionally implement KafkaMetricsReporter (see KafkaCSVMetricsReporter.scala for an example) and plug it in the KafkaConfig. Your custom metrics reporter can directly feed into your monitoring system. E.g., if you use graphite, you can write a KafkaGraphiteReporter that wraps the GraphiteReporter that coda hale metrics provides.
On Mon, Jul 1, 2013 at 11:21 AM, Vadim Keylis <[EMAIL PROTECTED]> wrote:
By the way, having an official contrib package with graphite, ganglia and other well-known reporters would be awesome so that not everyone has to write their own. On Jul 1, 2013 10:27 PM, "Joel Koshy" <[EMAIL PROTECTED]> wrote:
I've also used jolokia, http://jolokia.org/, though it can get a little slow to respond if you don't use it right. Have rolled a JMX/HTTP 'data dumper' from scratch (can be done in a couple hundred lines of Java without too much issue)...
Dave DeMaagd [EMAIL PROTECTED] | 818 262 7958
([EMAIL PROTECTED] - Wed, Jul 03, 2013 at 04:22:38PM +0100)
"The JmxTransformer engine is fully multithreaded. You specify the maximum number of threads that you want to start up for each part of the application. By default, up to 10 servers are queried at the same time. It is also possible to have multiple threads for each query against a server. Thus, you can specify that you want 10 threads to handle your 50 servers. Each one of your servers may have defined 10 queries. You can therefore, set the numQueryThreads to 2 to execute two queries against a server at the same time."
Cosmin On 7/3/13 7:07 PM, "David DeMaagd" <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
Apache Lucene, Apache Solr and all other Apache Software Foundation projects and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext