qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuck Rolke (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-3580) New feature request: It would be nice to have a means to "reset" statistics counts on QMF Managed Objects
Date Thu, 03 Nov 2011 13:59:33 GMT

    [ https://issues.apache.org/jira/browse/QPID-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143179#comment-13143179

Chuck Rolke commented on QPID-3580:

A good argument *against* resetting statistics is in the case where there are multiple consumers.
One consumer resets the statistics and then the other consumers start getting huge negative
numbers when they calculate their deltas.

I'm strongly in the camp of "never reset statistics" at the source.

A client is always able to snapshot the stats and then present deltas from that point giving
the appearance of reset stats.
> New feature request: It would be nice to have a means to "reset" statistics counts on
QMF Managed Objects
> ---------------------------------------------------------------------------------------------------------
>                 Key: QPID-3580
>                 URL: https://issues.apache.org/jira/browse/QPID-3580
>             Project: Qpid
>          Issue Type: New Feature
>          Components: C++ Broker
>    Affects Versions: 0.12
>         Environment: All c++ broker
>            Reporter: Fraser Adams
>            Priority: Minor
>              Labels: features
> The broker maintains a bunch of Managed Objects that can be returned via QMF, many of
which yield useful info - for example queue objects record things like msgTotalEnqueues, msgTotalDequeues,
byteTotalEnqueues etc. etc.
> These are stored as 64 bit numbers I believe and increment over time as data arrives
and departs on the queue.
> It would be nice to have a way to reset the counts. I guess that the most obvious way
would be via a QMF "resetStatistics" method or similar on the QMF classes where this is sensible
and/or possibly a global resetStatistics method on the broker class.

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


Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message