You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2014/12/07 20:38:12 UTC

[jira] [Commented] (CASSANDRA-8433) Add jmx and nodetool controls to reset lifetime metrics to zero

    [ https://issues.apache.org/jira/browse/CASSANDRA-8433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14237246#comment-14237246 ] 

Brandon Williams commented on CASSANDRA-8433:
---------------------------------------------

Why can't you just use the 'recent' metrics instead?

> Add jmx and nodetool controls to reset lifetime metrics to zero
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-8433
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8433
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Donald Smith
>            Priority: Minor
>
> Often I change some parameter in cassandra, in the OS, or in an external component and want to see the effect on cassandra performance.  Because some the jmx metrics are for the lifetime of the process, it's hard to see the effect of changes.  It's inconvenient to restart all the nodes. And if you restart only some nodes (as I often do) then only those metrics reset to zero.
> The jmx interface should provide a way to reset all lifetime metrics to zero.  And *nodetool* should invoke that to allow resetting metrics from the command line.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)