RabbitMQ (Management API) extension

  • Latest Dynatrace
  • Extension
  • Published Oct 27, 2025

Monitor your Clusters, Nodes, Virtual Hosts and Queues.

Get started

Monitor your Clusters, Nodes, Virtual Hosts and Queues.

Overview

This python extension connects to your RabbitMQ cluster via the Nodes Management API, to collect metrics for:

  • Clusters
  • Nodes
  • Virtual Hosts
  • Queues

These entities are then created in Dynatrace with relationships between them. The extension provides customized screens and metrics for each entity.

rabbit

Create a monitoring configuration, the parameters are:

  • Cluster name - A friendly name for the cluster or node.
  • Nodes - A list of management API urls for the nodes in the cluster. Optionally you can also specify a load balancer url.
  • Username - The username to use for the management API, it must have the monitoring permission.
  • Password - The password to use for the management API.
  • Queues to monitor - A list of queues that should be monitored, it can be a regular expression.

Use cases

  • Monitor your RabbitMQ clusters directly via the Management API.
  • Get individual details about queues, virtual hosts, nodes and clusters.

Compatibility information

Your RabbitMQ broker must have the management plugin enabled. This is enabled by default.

The extension has been tested on clusters running:

  • 3.13.7
  • 4.0.9
  • 4.1.0

And the user must have rights to see the queues and nodes.

This extensions requires EEC 1.313+.

Feature sets

When activating your extension using monitoring configuration, you can limit monitoring to one of the feature sets. To work properly the extension has to collect at least one metric after the activation.

In highly segmented networks, feature sets can reflect the segments of your environment. Then, when you create a monitoring configuration, you can select a feature set and a corresponding ActiveGate group that can connect to this particular segment.

All metrics that aren't categorized into any feature set are considered to be the default and are always reported.

A metric inherits the feature set of a subgroup, which in turn inherits the feature set of a group. Also, the feature set defined on the metric level overrides the feature set defined on the subgroup level, which in turn overrides the feature set defined on the group level.

Cluster
Metric nameMetric keyDescription
Messages (Cluster)rabbitmq.cluster.messagesTotal messages (ready + unacknowledged) in the cluster
Messages Ready (Cluster)rabbitmq.cluster.messages_readyTotal messages ready in the cluster
Messages Unacknowledged (Cluster)rabbitmq.cluster.messages_unacknowledgedTotal messages unacknowledged in the cluster
Consumers (Cluster)rabbitmq.cluster.consumersNumber of consumers
Connections (Cluster)rabbitmq.cluster.connectionsNumber of connections
Queuesrabbitmq.cluster.queuesNumber of queues
Exchangesrabbitmq.cluster.exchangesNumber of exchanges
Channelsrabbitmq.cluster.channelsNumber of channels
Messages Acknowledged (Cluster)rabbitmq.cluster.ack.countTotal messages acknowledged in the cluster
Messages Unacknowledged (Cluster)rabbitmq.cluster.unack.countTotal messages unacknowledged in the cluster
Messages Delivered (Cluster)rabbitmq.cluster.deliver_get.countTotal messages delivered in the cluster
Messages Published (Cluster)rabbitmq.cluster.publish.countTotal messages published in the cluster
Virtual Host
Metric nameMetric keyDescription
Messages (Virtual Host)rabbitmq.vhost.messagesSum of ready and unacknowledged messages for all queues in the Virtual Host.
Messages Ready (Virtual Host)rabbitmq.vhost.messages_readyNumber of messages ready to be delivered to clients for all queues in the Virtual Host.
Messages Unacknowledged (Virtual Host)rabbitmq.vhost.messages_unacknowledgedNumber of messages delivered to clients but not yet acknowledged for all queues in the Virtual Host.
Bytes Received (Virtual Host)rabbitmq.vhost.recv_oct.countTotal number of bytes received on the network for all queues in the Virtual Host.
Bytes Sent (Virtual Host)rabbitmq.vhost.send_oct.countTotal number of bytes sent on the network for all queues in the Virtual Host.
Queue
Metric nameMetric keyDescription
Messagesrabbitmq.queue.messagesSum of ready and unacknowledged messages (queue depth).
Messages Readyrabbitmq.queue.messages_readyNumber of messages ready to be delivered to clients.
Messages Unacknowledgedrabbitmq.queue.messages_unacknowledgedNumber of messages delivered to clients but not yet acknowledged.
Message Bytesrabbitmq.queue.message_bytesSum of the size of all message bodies in the queue. This does not include the message properties (including headers) or any overhead.
Memoryrabbitmq.queue.memoryBytes of memory allocated by the runtime for the queue, including stack, heap and internal structures.
Consumersrabbitmq.queue.consumersNumber of consumers.
Publishrabbitmq.queue.publish.countCount of messages published.
Redeliverrabbitmq.queue.redeliver.countCount of subset of messages in deliver_get which had the redelivered flag set.
Messages Deliveredrabbitmq.queue.messages_delivered.countMessages delivered to consumers.
Messages Delivered No Ackrabbitmq.queue.messages_deliver_no_ack.countCount of messages delivered in no-acknowledgement mode to consumers.
Messages Dropped Unroutablerabbitmq.queue.drop_unroutable.countCount of messages dropped as unroutable.
Messages Returned Unroutablerabbitmq.queue.return_unroutable.countCount of messages returned to the publisher as unroutable.
Node
Metric nameMetric keyDescription
Memory Usedrabbitmq.node.mem_usedMemory used in bytes.
Memory Limitrabbitmq.node.mem_limitPoint at which the memory alarm will go off.
File Descriptors Usedrabbitmq.node.fd_usedUsed file descriptors.
File descriptors availablerabbitmq.node.fd_totalFile descriptors available
Sockets Usedrabbitmq.node.sockets_usedFile descriptors used as sockets.
Sockets Availablerabbitmq.node.sockets_totalFile descriptors available to be used as sockets.
Disk Freerabbitmq.node.disk_freeDisk free space in bytes.
Partitionsrabbitmq.node.partitionsNumber of network partitions this node is seeing.
Uptimerabbitmq.node.uptimeTime since the Erlang VM started, in milliseconds.
Garbage Collection Countrabbitmq.node.gc_num.countNumber of garbage collections.
Related tags
ApplicationPythonMessage queueVMwareApplication ObservabilityMessage QueuesMessage Queues