You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/12 16:16:01 UTC

[jira] [Commented] (AMQ-5837) Add inflight message size to SubscriptionStatistics

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

ASF GitHub Bot commented on AMQ-5837:
-------------------------------------

GitHub user cshannon opened a pull request:

    https://github.com/apache/activemq/pull/113

    https://issues.apache.org/jira/browse/AMQ-5837

    This commit adds an Inflight message size statistic to SubscriptionStatistics so we can know the size of all the messages that are inflight, besides just the count.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cshannon/activemq AMQ-5837

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq/pull/113.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #113
    
----
commit 59f808c952ba1949b1894f66690d3da93fa2f57f
Author: Christopher L. Shannon (cshannon) <ch...@gmail.com>
Date:   2015-06-01T18:12:22Z

    https://issues.apache.org/jira/browse/AMQ-5837
    
    This commit adds an Inflight message size statistic to
    SubscriptionStatistics so we can know the size of all
    the messages that are inflight, besides just the count.

----


> Add inflight message size to SubscriptionStatistics
> ---------------------------------------------------
>
>                 Key: AMQ-5837
>                 URL: https://issues.apache.org/jira/browse/AMQ-5837
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Broker
>    Affects Versions: 5.11.1
>            Reporter: Christopher L. Shannon
>
> It would be useful to know the total message size of messages that are inflight (besides just the count) on a Subscription for monitoring and metrics purposes.  This value can be added to {{SubscriptionStatistics}} and kept in up to date so it can be displayed without blocking.
> A future enhancement when AMQ-5748 is done could be to add a pending message statistics.  AMQ-5748 is required first to be able to recover message sizes across a broker restart.



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