[ https://issues.apache.org/activemq/browse/AMQ-567?page=all ]
     
Scott Ellsworth reopened AMQ-567:
---------------------------------


None of the suggested statistics are rates.  They are measures of message 
lifetimes, both current and past.

Average length of time in queue for the messages currently in the queue is 
determined by taking every message, determining how long it has been in the 
queue, then dividing by the number of messages.  This helps determine latency.

Longest/shortest time in queue is a good measure for how well the queue is 
keeping up.  These two are also usable to determine if any of my messages are 
getting so old that a customer might be angry.

Average time that messages were in the queue before being serviced lets us 
determine the quality of service we are providing.

Similarly, the longest/shortest time a message stayed in the queue before being 
serviced gives us a measure of how well the queue manager has historically kept 
up.

Finally, I can compute some stats of my own by getting a list of messages in 
the queue with when they were posted, and how long they have been waiting.

In other words, these are summary and detailed stats for how long current 
messages have been waiting, and how long they have waited in the past.  
WebLogic does provide these, and they are quite useful.  Asking the queue for 
detailed information on every message to get these stats takes a fair amount of 
time and bandwidth, which is why it is more efficient to have the system 
compute them and just transmit the summary.


> Time in queue statistics handy
> ------------------------------
>
>          Key: AMQ-567
>          URL: https://issues.apache.org/activemq/browse/AMQ-567
>      Project: ActiveMQ
>         Type: New Feature

>   Components: Broker
>     Versions: 4.0 M4
>  Environment: any
>     Reporter: Scott Ellsworth
>      Fix For: 4.0

>
>
> It would be very keen if the JMX console exposed queue statistics, such as 
> average length of time in queue for current messages, longest/shortest time 
> in queue for current messages, average time in queue for serviced messages 
> (as opposed to those waiting), longestlshortest time for same, and a list of 
> messages in the queue with when they were posted, and how long they have been 
> waiting.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to