You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2013/10/29 15:32:44 UTC

[Cassandra Wiki] Update of "Metrics" by ChrisBurroughs

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "Metrics" page has been changed by ChrisBurroughs:
https://wiki.apache.org/cassandra/Metrics?action=diff&rev1=1&rev2=2

Comment:
metrics reporting

  = Cassandra Metrics =
  
- This page describes new metrics([[https://issues.apache.org/jira/browse/CASSANDRA-4009|CASSANDRA-4009]]) planned in upcoming version 1.2.
+ This page describes the expanded metrics ([[https://issues.apache.org/jira/browse/CASSANDRA-4009|CASSANDRA-4009]]) introduced in 1.2.  New metrics have continued to be added since.
  
  == Overview ==
  
@@ -23, +23 @@

   * [[#storage|Storage]]
   * [[#threadpool|Thread Pool]]
  
+ 
+ == Reporting ==
+ 
+ In 2.0.2 ([[https://issues.apache.org/jira/browse/CASSANDRA-4430|CASSANDRA-4430]]) introduced (optional) plugable reporting reporters using [[https://github.com/addthis/metrics-reporter-config|metrics-reporter-config]].  This can be used to send org.apache.cassandra.metrics to popular tools like [[http://ganglia.info/|ganglia]] and [[http://graphite.readthedocs.org/|graphite]] for data collection and graphing.  See `conf/metrics-reporter-config-sample.yaml` for a sample.  Metrics are always available in JMX regardless of this config.  To enable a reporter:
+ 
+  * Add the relevant reporter library (such as `metrics-ganglia`) to `lib`.
+  * Create your config file (for example you may want to include or exclude certain per column family metrics).
+  * Start cassandra with `-Dcassandra.metricsReporterConfigFile=yourCoolFile.yaml`
+ 
  <<Anchor(cache)>>
  == Cache (5 metrics/cache) ==