You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Chris Burroughs (JIRA)" <ji...@apache.org> on 2013/08/02 21:31:50 UTC
[jira] [Commented] (CASSANDRA-4430) optional pluggable
o.a.c.metrics reporters
[ https://issues.apache.org/jira/browse/CASSANDRA-4430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727992#comment-13727992 ]
Chris Burroughs commented on CASSANDRA-4430:
--------------------------------------------
Traveling for the next two weeks or so, but since this would have saved my Friday afternoon it should be near the top of my plate when I get back.
> optional pluggable o.a.c.metrics reporters
> ------------------------------------------
>
> Key: CASSANDRA-4430
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4430
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Chris Burroughs
> Assignee: Chris Burroughs
> Priority: Minor
> Fix For: 2.1
>
> Attachments: cassandra-ganglia-example.png
>
>
> 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:
> {noformat}
> 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
> {noformat}
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira