Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4430

optional pluggable o.a.c.metrics reporters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.2
    • None
    • None

    Description

      CASSANDRA-4009 expanded the use of the metrics library which has a set of reporter modules http://metrics.codahale.com/manual/core/#reporters You can report to flat files, ganglia, spit everything over http, etc. The next step is a mechanism for using those reporters with o.a.c.metrics. To avoid bundling everything I suggest following the mx4j approach of "enable only if on classpath coupled with a reporter configuration file.

      Strawman file:

      console:
        time: 1
        timeunit: "seconds"
      csv:
       - time: 1
         timeunit: minutes
         file: foo.csv
       - time: 10
         timeunit: seconds
          file: bar.csv
      ganglia:
       - time: 30
         timunit: seconds
         host: server-1
         port: 8649
       - time: 30
         timunit: seconds
         host: server-2
         port: 8649
      

      Attachments

        1. 4430-2.0.txt
          6 kB
          Tom Hobbs
        2. 4430-trunk.txt
          8 kB
          Tom Hobbs
        3. cassandra-ganglia-example.png
          88 kB
          Chris Burroughs

        Issue Links

          Activity

            People

              cburroughs Chris Burroughs
              cburroughs Chris Burroughs
              Chris Burroughs
              Tom Hobbs
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: