---
title: Azure Service Bus
description: Track key Azure Service Bus metrics.
breadcrumbs: Docs > Integrations > Azure Service Bus
---

# Azure Service Bus

## Overview{% #overview %}

Microsoft Azure Service Bus is a fully managed enterprise integration message broker.

Get metrics from Azure Service Bus to:

- Visualize the performance of your Service Bus.
- Correlate the performance of your Service Buses with your applications.

## Setup{% #setup %}

### Installation{% #installation %}

If you haven't already, set up the [Microsoft Azure integration](https://docs.datadoghq.com/integrations/azure/) first. There are no other installation steps that need to be performed.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **azure.servicebus\_namespaces.abandoned\_messages**(count)                                             | Abandoned Messages.*Shown as message*                                                                                                                              |
| **azure.servicebus\_namespaces.active\_connections**(count)                                             | Total Active Connections for Microsoft.ServiceBus.*Shown as connection*                                                                                            |
| **azure.servicebus\_namespaces.count\_of\_active\_messages\_in\_a\_queue\_topic.**(gauge)               | Count of active messages in a Queue/Topic.*Shown as message*                                                                                                       |
| **azure.servicebus\_namespaces.completed\_messages**(count)                                             | Completed Messages.*Shown as message*                                                                                                                              |
| **azure.servicebus\_namespaces.connections\_closed.**(gauge)                                            | Connections Closed for Microsoft.ServiceBus.*Shown as connection*                                                                                                  |
| **azure.servicebus\_namespaces.connections\_opened.**(gauge)                                            | Connections Opened for Microsoft.ServiceBus.*Shown as connection*                                                                                                  |
| **azure.servicebus\_namespaces.cpu\_per\_namespace**(gauge)                                             | Service bus premium namespace CPU usage metric. This metric is deprecated. Please use the CPU metric (NamespaceCpuUsage) instead.*Shown as percent*                |
| **azure.servicebus\_namespaces.count\_of\_dead\_lettered\_messages\_in\_a\_queue\_topic.**(gauge)       | Count of dead-lettered messages in a Queue/Topic.*Shown as message*                                                                                                |
| **azure.servicebus\_namespaces.incoming\_messages**(count)                                              | Incoming Messages for Microsoft.ServiceBus.*Shown as message*                                                                                                      |
| **azure.servicebus\_namespaces.incoming\_requests**(count)                                              | Incoming Requests for Microsoft.ServiceBus.*Shown as request*                                                                                                      |
| **azure.servicebus\_namespaces.count\_of\_messages\_in\_a\_queue\_topic.**(gauge)                       | Count of messages in a Queue/Topic.*Shown as message*                                                                                                              |
| **azure.servicebus\_namespaces.cpu**(gauge)                                                             | CPU usage metric for Premium SKU namespaces.*Shown as percent*                                                                                                     |
| **azure.servicebus\_namespaces.memory\_usage**(gauge)                                                   | Memory usage metric for Premium SKU namespaces.*Shown as percent*                                                                                                  |
| **azure.servicebus\_namespaces.outgoing\_messages**(count)                                              | Outgoing Messages for Microsoft.ServiceBus.*Shown as message*                                                                                                      |
| **azure.servicebus\_namespaces.pending\_checkpoint\_operations\_count.**(count)                         | Pending Checkpoint Operations Count.*Shown as operation*                                                                                                           |
| **azure.servicebus\_namespaces.count\_of\_scheduled\_messages\_in\_a\_queue\_topic.**(gauge)            | Count of scheduled messages in a Queue/Topic.*Shown as message*                                                                                                    |
| **azure.servicebus\_namespaces.server\_errors.**(count)                                                 | Server Errors for Microsoft.ServiceBus.*Shown as error*                                                                                                            |
| **azure.servicebus\_namespaces.server\_send\_latency.**(gauge)                                          | Server Send Latency.*Shown as millisecond*                                                                                                                         |
| **azure.servicebus\_namespaces.size**(gauge)                                                            | Size of an Queue/Topic in Bytes.*Shown as byte*                                                                                                                    |
| **azure.servicebus\_namespaces.successful\_requests**(count)                                            | Total successful requests for a namespace.*Shown as request*                                                                                                       |
| **azure.servicebus\_namespaces.throttled\_requests.**(count)                                            | Throttled Requests for Microsoft.ServiceBus.*Shown as request*                                                                                                     |
| **azure.servicebus\_namespaces.user\_errors.**(count)                                                   | User Errors for Microsoft.ServiceBus.*Shown as error*                                                                                                              |
| **azure.servicebus\_namespaces.mem\_usage\_per\_namespace**(gauge)                                      | Service bus premium namespace memory usage metric. This metric is deprecated. Please use the Memory Usage (NamespaceMemoryUsage) metric instead.*Shown as percent* |
| **azure.servicebus\_namespaces.count**(gauge)                                                           | The count of all Azure Service Bus resources.                                                                                                                      |
| **azure.servicebus\_namespaces.count\_of\_active\_messages\_in\_a\_topic\_subscription**(gauge)         | Count of active messages in a Topic Subscription.*Shown as message*                                                                                                |
| **azure.servicebus\_namespaces.count\_of\_dead\_lettered\_messages\_in\_a\_topic\_subscription**(gauge) | Count of dead-lettered messages in a Topic Subscription.*Shown as message*                                                                                         |
| **azure.servicebus\_namespaces.count\_of\_messages\_in\_a\_topic\_subscription**(gauge)                 | Count of messages in a Topic Subscription.*Shown as message*                                                                                                       |
| **azure.servicebus\_namespaces.max\_size**(gauge)                                                       | Maximum size in bytes of a Queue or Topic.*Shown as byte*                                                                                                          |
| **azure.servicebus\_namespaces.free\_space**(gauge)                                                     | Remaining available bytes of a Queue or Topic.*Shown as byte*                                                                                                      |
| **azure.servicebus\_namespaces.replication\_lag\_count**(gauge)                                         | Replication lag by message count.                                                                                                                                  |
| **azure.servicebus\_namespaces.replication\_lag\_duration**(gauge)                                      | Replication lag by time duration.*Shown as second*                                                                                                                 |

### Events{% #events %}

The Azure Service Bus integration does not include any events.

### Service Checks{% #service-checks %}

The Azure Service Bus integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
