cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5838) Upgrade metrics-core library
Date Fri, 09 Aug 2013 02:25:48 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dave Brosius updated CASSANDRA-5838:
------------------------------------

    Attachment: 5838.txt

Major changes are

1) MetricsRegistry is no longer static, so i added static c* class that holds the instance

2) No more MetricName class, just strings... adjusted accordingly

3) simple api renamings value() now getValue() etc.

4) Removal of the clear() method from Histogram and ExponentialDecayingSample now ExponentialDecayingReservoir...
Not sure how to handle this. In the one place that mattered, i just unregistered, and then
reregistered new EDRs. The other case was from a test, that seems to pass even w/o the clears,
so removed.


                
> Upgrade metrics-core library
> ----------------------------
>
>                 Key: CASSANDRA-5838
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5838
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Eugen Paraschiv
>            Assignee: Dave Brosius
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: 5838.txt
>
>
> Cassandra is now using [metrics|https://github.com/codahale/metrics] and is depending
on metrics-core 2.0.3. 
> It would be great to make the jump to the latest version of the library which is 3.x
- [latest is 3.0.1|http://search.maven.org/#search|gav|1|g%3A%22com.codahale.metrics%22%20AND%20a%3A%22metrics-core%22].


--
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

Mime
View raw message