cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Burroughs (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-4430) optional pluggable o.a.c.metrics reporters
Date Fri, 20 Sep 2013 01:18:52 GMT


Chris Burroughs commented on CASSANDRA-4430:

bq. Hang on, we need to ship 4 extra jars now? Or are those only necessary if you want to
enable different reporters?

The jars are for validation of the config, javax.validation.validation-api the actual implementation
of said api from the hibernate folks, and the logging jar that the hibernate folks use.  That's
admittedly a case study in somewhat excessive java modularity.  I *think* if those deps are
excluded the only consequence is less useful error messages.  On the other hand cassandra.yaml
itself might benefit from the javax.validation stuff, but that's a different topic.

        message = "must be a valid java.util.concurrent.TimeUnit"
    private String timeunit;

I didn't currently include metrics-ganglia/metrics-graphite/any-third party metrics packages
(so users would have to toss a jar in like we do for mx4j).
> optional pluggable o.a.c.metrics reporters
> ------------------------------------------
>                 Key: CASSANDRA-4430
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Chris Burroughs
>            Assignee: Chris Burroughs
>            Priority: Minor
>             Fix For: 2.1
>         Attachments: 4430-2.0.txt, 4430-trunk.txt, cassandra-ganglia-example.png
> CASSANDRA-4009  expanded the use of the metrics library which has a set of reporter modules  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:

View raw message