activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Huffman <robert.huff...@gmail.com>
Subject Re: Statistics plugin is reporting averageMessageSize as 0
Date Sun, 04 Dec 2016 18:59:47 GMT
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 <tbain@alumni.duke.edu> wrote:

> If you haven't already, please submit a bug report in JIRA.
>
> On Nov 24, 2016 3:52 PM, "rth" <robert.huffman@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.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message