You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Tim Bain <tb...@alumni.duke.edu> on 2016/12/04 15:43:36 UTC

Re: Statistics plugin is reporting averageMessageSize as 0

If you haven't already, please submit a bug report in JIRA.

On Nov 24, 2016 3:52 PM, "rth" <ro...@gmail.com> wrote:

> Yes, it looks like a bug. The StatisticsBroker, on line 123, invokes
> stats.getMessageSize().getAveragePerSecond() instead of getAverageSize().
> getAveragePerSecond divides 1000 by the result of getAverageSize().
>
> So I have a topic with an actual averageMessageSize of 1242. The statistic
> plugin divides 1000 by 1242 and gives me an average size of 0.
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Statistics-plugin-is-reporting-averageMessageSize-as-0-
> tp4719483p4719484.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Re: Statistics plugin is reporting averageMessageSize as 0

Posted by Robert Huffman <ro...@gmail.com>.
Sorry, I should have replied about this already.

I found the problem in the plugin code and submitted a defect. Gary Tully
fixed it already.

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



On Sun, Dec 4, 2016 at 7:43 AM, Tim Bain <tb...@alumni.duke.edu> wrote:

> If you haven't already, please submit a bug report in JIRA.
>
> On Nov 24, 2016 3:52 PM, "rth" <ro...@gmail.com> wrote:
>
> > Yes, it looks like a bug. The StatisticsBroker, on line 123, invokes
> > stats.getMessageSize().getAveragePerSecond() instead of
> getAverageSize().
> > getAveragePerSecond divides 1000 by the result of getAverageSize().
> >
> > So I have a topic with an actual averageMessageSize of 1242. The
> statistic
> > plugin divides 1000 by 1242 and gives me an average size of 0.
> >
> >
> >
> >
> > --
> > View this message in context: http://activemq.2283324.n4.
> > nabble.com/Statistics-plugin-is-reporting-averageMessageSize-as-0-
> > tp4719483p4719484.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >
>