Message queues in the form of a queue or a topic provide lightweight storage for messages. They offer endpoints that allow applications to send messages to them and endpoints that allow applications to retrieve messages from them asynchronously or to subscribe to topics. For full details, see Queue concepts.
Decoupled services are standard in applications built with microservices, and events are used to communicate between services, making it essential to observe the performance of message queues. With Dynatrace, you can get full observability into your producer and consumer services and simplify troubleshooting in asynchronous communication flows.
Learn the most important concepts of queue monitoring.
Configure monitoring, tracing for IBM MQ, tags, and management zones.
Analyze queues and topics in your environment.
Queues and topics in Dynatrace
OneAgent automatically detects queues and topics as part of distributed traces when monitored applications use the endpoints of compatible messaging clients to send or retrieve messages. To check the compatible clients, see Technology support.
To get an overview of all detected queues and topics, from the Dynatrace menu, go to Queues.
For all queues and topics, OneAgent measures the number of Incoming messages and Outgoing messages.
By monitoring these metrics, you can catch unbalanced message processing that could result in severe problems (such as queue overflows) and prevent them by scaling queues quickly or maintaining failover processes.
Select the Name of a specific queue or topic to display its analytic view, with enhanced troubleshooting capabilities to gain additional insight into related anomalies.
Frequently asked questions
Queue: a single message is retrieved by exactly one consumer (point-to-point model) even when more consumers are connected to the queue.
Topic: a single message is published to all subscribers of that topic (publish-subscribe model).
In Dynatrace, both a queue and a topic result in a Queue entity.
No. Queues and topics are detected as part of distributed traces when OneAgent is running in Full-Stack Monitoring mode.
No. Queues and topics are detected as part of distributed traces only when OneAgent is running in Full-Stack Monitoring mode.
After queues and topics are detected by OneAgent on the messaging client-side, the Queues and topics table lists the ones that are part of distributed traces. Keep in mind that all queues and topics might not be used by the monitored applications or be accessed by OneAgent.
Yes, but the queues and topics detected by Dynatrace extensions don't result in Queue entities in your environment. Extensions can only add technology-specific metrics to Queue entities created by OneAgent. This is why queues and topics detected by extensions aren't visible in the Queues and topics table.
While Dynatrace extensions detect queues and topics on the messaging server side, OneAgent detects them exclusively on the messaging client side. Additionally, not all queues and topics might be used by the monitored application or be accessed by OneAgent.
The numbers of incoming and outgoing messages per queue or topic are calculated based on the data provided by monitored producer and consumer services. If a producer or consumer service is not monitored, the number of messages per queue or topic could be lower in Dynatrace than the actual number of processed messages.
If a queue name or topic name contains four consecutive digits, Dynatrace automatically considers it to be a temporary queue or topic. For example, the queue name
A4214QA contains four consecutive digits (
4214), which will result in a temporary queue.
Dynatrace applies this logic to prevent monitoring of too many queues or topics. If this limit presents a problem in your environment, you can request an increase from four consecutive digits. To do so, Please contact a Dynatrace product expert via live chat within your environment.
OneAgent supports various messaging clients. To find out the compatible clients, see Technology support.