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

Yuki Morishita updated CASSANDRA-4009:
--------------------------------------

    Attachment: 4009.txt

My first attempt attached. Basically, I extracted what it seems like 'Metrics' 
from current MBeans and re-organized them under o.a.c.metrics package. I 
uploaded list of metrics here(still wip, tho): https://gist.github.com/3013075

Patch adds new metric classes, but I still did not completely replace old ones, 
nor mark as deprecated. I will do this if  new metric classes seem OK.

What bothers me right now is that I extracted endpoint states from 
FailureDetector#getAllEndpointStates to EndpointStateMetrics, but I don't think 
we are going to need it.

If anything seems missing/not needed, please let me know.
                
> Increase usage of Metrics and flesh out o.a.c.metrics
> -----------------------------------------------------
>
>                 Key: CASSANDRA-4009
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4009
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Brandon Williams
>            Assignee: Yuki Morishita
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: 4009.txt
>
>
> With CASSANDRA-3671 we have begun using the Metrics packages to expose stats 
> in a new JMX structure, intended to be more user-friendly (for example, you 
> don't need to know what a StorageProxy is or does.)  This ticket serves as a 
> parent for subtasks to finish fleshing out the rest of the enhanced metrics.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to