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

optional pluggable o.a.c.metrics reporters

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 2.0.2
    • Component/s: None
    • Labels:
      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
          Tyler Hobbs
        2. 4430-trunk.txt
          8 kB
          Tyler Hobbs
        3. cassandra-ganglia-example.png
          88 kB
          Chris Burroughs

          Issue Links

            Activity

              People

              • Assignee:
                cburroughs Chris Burroughs
                Reporter:
                cburroughs Chris Burroughs
                Reviewer:
                Tyler Hobbs
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: