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

optional pluggable o.a.c.metrics reporters

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • 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. cassandra-ganglia-example.png
          88 kB
          Chris Burroughs
        2. 4430-trunk.txt
          8 kB
          Tom Hobbs
        3. 4430-2.0.txt
          6 kB
          Tom Hobbs

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              cburroughs Chris Burroughs Assign to me
              Reporter:
              cburroughs Chris Burroughs
              Authors:
              Chris Burroughs
              Reviewers:
              Tom Hobbs

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment