Use Dynatrace to gain full visibility into queue producer and consumer services, and to simplify queue troubleshooting efforts.
To analyze a message queue
In the Dynatrace menu, select Queues.
The Queues and topics table provides an overview of message queues, highlighting each queue technology and the corresponding numbers of incoming and outgoing messages.
Select the Name of a queue or topic from the table to access technology-specific analytics views with additional details related to anomalies.
In the analytics views, you'll find metadata about the queue or topic, the topological relationship to its process group and host, and information about anomalies detected by Davis® AI. It also displays the message throughput for each queue and topic, along with the connected producer and consumer services. Events highlight any availability changes of your message queue, while logs can reveal internal problems.
Example causes of unbalanced message processing:
- Producer services send more messages to the queue than consumer services can process.
- Some consumer services exhibit availability issues or response-time degradation.
Observing message queue metrics, you can see unbalanced message processing and prevent severe problems, such as queue overflows, by scaling queues quickly or maintaining failover processes.
Different service metrics—such as response time, failure rate, throughput, and CPU consumption—allow you to draw detailed conclusions about the root cause of asynchronous service-to-service communication anomalies. You can switch quickly between the available metrics, apply different aggregation functions, or define metric-specific alerts. To define an alert for any metric, select Set alert from the menu to the upper-right of the chart.
If needed, select a specific service from the producer or consumer list for details at the service and code levels.
This example shows a service flow with a producer service, queue entity, listener service, and consumer service.
In this example, you see a distributed trace with a producer service, queue entity, listener service, and consumer service.
Technology-specific analytics views
Each message queue has unique characteristics built for different use cases. Dynatrace provides technology-specific analytics views for ActiveMQ, Apache Kafka, RabbitMQ, and Tibco EMS, where Dynatrace extensions can add metrics to ease troubleshooting. For instructions on activating the extensions, see Technology-specific metrics for queues and topics.
The ActiveMQ view integrates service insights with metrics about the queue and its broker to provide a complete view of the ActiveMQ deployment.
In the Apache Kafka analytics view, you will find additional producer and consumer metrics related to the byte rate.
The RabbitMQ analytics view complements service insights with various metrics about its node and its cluster to understand the entire RabbitMQ deployment.
The Tibco EMS analytics view provides additional metrics about its broker and its status to better understand any performance anomalies.