[ https://issues.apache.org/jira/browse/AMQ-5792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQ-5792. ------------------------------- patch applied, thanks! > Add a SubscriptionStatistics implementation to Subscriptions > ------------------------------------------------------------ > > Key: AMQ-5792 > URL: https://issues.apache.org/jira/browse/AMQ-5792 > Project: ActiveMQ > Issue Type: New Feature > Components: Broker > Affects Versions: 5.11.1 > Reporter: Christopher L. Shannon > Assignee: Timothy Bish > Fix For: 5.12.0 > > > I think it would be a good idea to create a {{SubscriptionStatistics}} class > following the same model as {{DestinationStatistics}}. There are already > several counters/metrics tracked per subscription that could be moved into > this new metrics class. Accessing the values programmatically would benefit > because it would it is easier to just call a single gettter and receive a > {{SubscriptionStatistics}} object versus having to call several getters to > get individual values. > A future enhancement after this issue is complete is to expand the metrics > and add new ones. For example, an inflight count is kept but it would also > be nice to keep track of the total byte size of the inflight messages as > well. > I will be working on a pull request for this over the next couple of days and > I will push it up when it is done. -- This message was sent by Atlassian JIRA (v6.3.4#6332)