[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    Re: Question about the ActiveMQ Statistics Plugin
From:       Jean-Baptiste_Onofré <jb () nanthrax ! net>
Date:       2024-01-03 6:27:29
Message-ID: CAB8EV3RhFh5vdsEgc7O08v8niO=CQQeyjf+N8MFFJRaFVuRC8w () mail ! gmail ! com
[Download RAW message or body]

Hi Sophie

Which version are you using?
The situation is the same: no special properties on the message
(redelivery, ...) ?

Regards
JB

PS: this kind of message should be sent to the user mailing list

On Tue, Jan 2, 2024 at 10:30 PM Sophie Borchart
<Sophie.Borchart@ibm.com.invalid> wrote:
> 
> Hello,
> I'm running into a situation where I am using the ActiveMQ Statistics Plugin to \
> retrieve data for queues. I know my queues have data in them: 
> "statistics": {
> "dequeue_count": 0,
> "average_message_size": 1152,
> "memory_usage": 3456,
> "consumer_count": 0,
> "min_enqueue_time": 0,
> "memory_percent_usage": 0,
> "average_enqueue_time": 0,
> "messages_cached": 0,
> "expired_count": 0,
> "inflight_count": 0,
> "max_enqueue_time": 0,
> "dispatch_count": 0,
> "queue_size": 0,
> "destination_name": "queue://inbound_destinations.201.id1",
> "producer_count": 0,
> "memory_limit": 536870912,
> "broker_name": "detachedBroker",
> "enqueue_count": 0
> },
> 
> As you can see the average message size > 0 and some statistics are being \
> retrieved, so I know the plug in is working. 
> I can confirm in my database tht the messages are there, the queue size is 3:
> 
> container               | count | bytes | max_bytes
> 
> --------------------------------------+-------+-------+-----------
> 
> queue://inbound_destinations.201.id1 |     3 |  1344 |       481
> 
> 
> However, the queue size is showing up as 0. This is when I am using a Linux machine \
> – when I use the same code on my mac it works just fine. Is there a reason why \
> this would occur, ActiveMQ is reporting the size as 0 when that is not the case, \
> but the rest of the data is correct. 
> Please let me know, thank you!
> Best,
> Sophie


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic