activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: How does ActiveMQ compute statistics exposed though JMX
Date Tue, 01 May 2012 11:28:04 GMT
have a peek at the source:
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/

For the process time:
Time capture at:
org.apache.activemq.broker.region.RegionBroker#send

Statistic update at:
org.apache.activemq.broker.region.RegionBroker#preProcessDispatch

Statistic impl:
org.apache.activemq.management.TimeStatisticImpl#addTime


On 26 April 2012 14:42, Prisca POLYTE <polyte.p@gmail.com> wrote:
> Hello,
>
> I am a little confused about some properties (AverageEnqueueTime,
> MaxEnqueueTimethat,
> MinEnqueueTime) that are exposed via JMX.
>
> Are these properties are computed ?
>
> this is a brief extract of values :
> [ ]
> date AverageEnqueueTime MaxEnqueueTime MinEnqueueTime
> 02/04/2012 12:35 0,300976 4246 0
> 02/04/2012 12:35 0,249668 175 0
> 02/04/2012 12:35 0,251931 62 0
> 02/04/2012 12:35 0,277158 64 0
> 02/04/2012 12:35 0,234023 2 0
> 02/04/2012 12:35 0,253326 57 1
> 02/04/2012 12:35 0,289156 4111 0
> 02/04/2012 12:35 0,206312 2 1
> 02/04/2012 12:35 0,256533 29 1
> 02/04/2012 12:35 0,240266 81 1
> 02/04/2012 12:35 0,260581 560 1
> 02/04/2012 12:35 0,336377 4291 0
> 02/04/2012 12:35 0,264730 70 0
> 02/04/2012 12:35 0,249669 62 0
> 02/04/2012 12:35 0,248694 99 1
> 02/04/2012 12:35 0,254988 58 0
>
> []
>
>
> It does not seem that the MaxEnqueueTime is absolute because it changes too
> much.
> Are they computed on per time basis ? which one ?
>
> and sometimes the min is greater than the average. It is crazy.
>
> What am I missing ?
>
> thanks for your help.
>
>
> Regards
> Prisca



-- 
http://fusesource.com
http://blog.garytully.com

Mime
View raw message