Reputation: 357
I'm using ActiveMQ Classic 5.16.4. I wanted something like the default web-console graph, but instead of split by queue name, to have number of queue entries over a day or couple of days.
I couldn't see anything simply to change in the queueGraph.jsp
that I could hack on to change the for each row to for each time.
Didn't really want to have to implement a custom monitoring solution just to see the messages coming in and being processed over time.
Is anyone aware of a way of doing this in the default ActiveMQ stack - or is the only solution to implement something else to store the queue length at time periods.
Upvotes: 0
Views: 114
Reputation: 35122
I'm not aware of a built-in mechanism to do this in ActiveMQ Classic. I think the simplest solution would be to set up an instance of Prometheus and configure the broker with the JMX Exporter.
ActiveMQ Artemis has a built-in feature called "Message Counters" that can do this kind of thing. It also has tighter integration with Prometheus via the Prometheus metrics plugin. General information about exporting metrics in ActiveMQ Artemis can be found in the documentation.
Upvotes: 1