---
title: Azure Event Hub
description: Azure Event Hub is a large scale data stream managed service
breadcrumbs: Docs > Integrations > Azure Event Hub
---

# Azure Event Hub

## Overview{% #overview %}

Azure Event Hub is a large scale data stream managed service.

Get metrics from Azure Event Hub to:

- Visualize the performance of your Event Hubs.
- Correlate the performance of your Event Hubs with your applications.

## Setup{% #setup %}

### Installation{% #installation %}

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

### Metric collection{% #metric-collection %}

In the [Azure integration tile](https://docs.datadoghq.com/integrations/azure.md), ensure that `Event Hub` is checked under metric collection.

### Log collection{% #log-collection %}

To collect logs from Event Hubs follow this general process:

- Create an Azure Event Hub from the Azure portal, the Azure CLI, or Powershell.
- Setup the Datadog-Azure Function which forwards logs from your event hub to Datadog.
- Forward your Event Hubs logs to the newly created Event Hub.

For detailed instructions follow the main [Azure log documentation](https://docs.datadoghq.com/integrations/azure.md#log-collection).

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

### Metrics{% #metrics %}

|  |
|  |
| **azure.eventhub\_namespaces.active\_connections**(count)              | Total Active Connections for Microsoft.EventHub.*Shown as connection*                                     |
| **azure.eventhub\_namespaces.archive\_backlog\_messages**(count)       | Event Hub archive messages in backlog for a namespace (Deprecated)*Shown as message*                      |
| **azure.eventhub\_namespaces.archive\_message\_throughput**(rate)      | Event Hub archived message throughput in a namespace (Deprecated)*Shown as byte*                          |
| **azure.eventhub\_namespaces.archive\_messages**(count)                | Event Hub archived messages in a namespace (Deprecated)*Shown as message*                                 |
| **azure.eventhub\_namespaces.capture\_backlog.**(count)                | Capture Backlog for Microsoft.EventHub.                                                                   |
| **azure.eventhub\_namespaces.captured\_bytes.**(gauge)                 | Captured Bytes for Microsoft.EventHub.*Shown as byte*                                                     |
| **azure.eventhub\_namespaces.captured\_messages.**(count)              | Captured Messages for Microsoft.EventHub.*Shown as message*                                               |
| **azure.eventhub\_namespaces.connections\_closed.**(count)             | Connections Closed for Microsoft.EventHub.*Shown as connection*                                           |
| **azure.eventhub\_namespaces.connections\_opened.**(count)             | Connections Opened for Microsoft.EventHub.*Shown as connection*                                           |
| **azure.eventhub\_namespaces.failed\_requests**(count)                 | Total failed requests for a namespace (Deprecated)*Shown as request*                                      |
| **azure.eventhub\_namespaces.incoming\_bytes\_deprecated**(gauge)      | Event Hub incoming message throughput for a namespace (Deprecated)*Shown as byte*                         |
| **azure.eventhub\_namespaces.incoming\_bytes\_per\_sec**(gauge)        | Incoming Bytes per second for Microsoft.EventHub.*Shown as byte*                                          |
| **azure.eventhub\_namespaces.incoming\_bytes.**(gauge)                 | Incoming Bytes for Microsoft.EventHub.*Shown as byte*                                                     |
| **azure.eventhub\_namespaces.incoming\_messages**(count)               | Incoming Messages for Microsoft.EventHub.*Shown as message*                                               |
| **azure.eventhub\_namespaces.incoming\_messages\_deprecated**(count)   | Total incoming messages for a namespace (Deprecated)*Shown as message*                                    |
| **azure.eventhub\_namespaces.incoming\_messages\_count**(count)        | Total incoming messages for a namespace. This metric is deprecated.*Shown as message*                     |
| **azure.eventhub\_namespaces.incoming\_requests**(count)               | Incoming Requests for Microsoft.EventHub.*Shown as request*                                               |
| **azure.eventhub\_namespaces.incoming\_requests\_deprecated**(count)   | Total incoming send requests for a namespace (Deprecated).*Shown as request*                              |
| **azure.eventhub\_namespaces.internal\_server\_errors**(count)         | Total internal server errors for a namespace (Deprecated)*Shown as error*                                 |
| **azure.eventhub\_namespaces.other\_errors**(count)                    | Total failed requests for a namespace (Deprecated)*Shown as error*                                        |
| **azure.eventhub\_namespaces.outgoing\_bytes\_deprecated**(gauge)      | Event Hub outgoing message throughput for a namespace (Deprecated)*Shown as byte*                         |
| **azure.eventhub\_namespaces.outgoing\_bytes\_per\_sec**(rate)         | Outgoing Bytes per second for Microsoft.EventHub.*Shown as byte*                                          |
| **azure.eventhub\_namespaces.outgoing\_bytes.**(gauge)                 | Outgoing Bytes for Microsoft.EventHub.*Shown as byte*                                                     |
| **azure.eventhub\_namespaces.outgoing\_messages**(count)               | Outgoing Messages for Microsoft.EventHub.*Shown as message*                                               |
| **azure.eventhub\_namespaces.outgoing\_messages\_count**(count)        | Total outgoing messages for a namespace. This metric is deprecated.*Shown as message*                     |
| **azure.eventhub\_namespaces.outgoing\_messages\_deprecated**(count)   | Total outgoing messages for a namespace (Deprecated)*Shown as message*                                    |
| **azure.eventhub\_namespaces.quota\_exceeded\_errors.**(count)         | Quota Exceeded Errors for Microsoft.EventHub.*Shown as error*                                             |
| **azure.eventhub\_namespaces.server\_busy\_errors**(count)             | Total server busy errors for a namespace (Deprecated)*Shown as error*                                     |
| **azure.eventhub\_namespaces.server\_errors.**(count)                  | Server Errors for Microsoft.EventHub.*Shown as error*                                                     |
| **azure.eventhub\_namespaces.size**(gauge)                             | Size of an EventHub in Bytes.*Shown as byte*                                                              |
| **azure.eventhub\_namespaces.count**(count)                            | Count of Azure Event Hub integration                                                                      |
| **azure.eventhub\_namespaces.successful\_requests**(count)             | Successful Requests for Microsoft.EventHub.*Shown as request*                                             |
| **azure.eventhub\_namespaces.successful\_requests\_deprecated**(count) | Total successful requests for a namespace (Deprecated)*Shown as request*                                  |
| **azure.eventhub\_namespaces.throttled\_requests.**(count)             | Throttled Requests for Microsoft.EventHub.*Shown as request*                                              |
| **azure.eventhub\_namespaces.user\_errors.**(count)                    | User Errors for Microsoft.EventHub.*Shown as error*                                                       |
| **azure.eventhub\_clusters.active\_connections**(count)                | The total active connections for Microsoft EventHub.*Shown as connection*                                 |
| **azure.eventhub\_clusters.available\_memory**(gauge)                  | The available memory for the EventHub cluster as a percentage of total memory.*Shown as percent*          |
| **azure.eventhub\_clusters.capture\_backlog**(count)                   | The number of capture backlogs for Microsoft EventHub.                                                    |
| **azure.eventhub\_clusters.captured\_bytes**(gauge)                    | The captured bytes for Microsoft EventHub.*Shown as byte*                                                 |
| **azure.eventhub\_clusters.captured\_messages**(count)                 | The number of captured messages for Microsoft EventHub.*Shown as message*                                 |
| **azure.eventhub\_clusters.connections\_closed**(count)                | The number of connections closed for Microsoft EventHub.*Shown as connection*                             |
| **azure.eventhub\_clusters.connections\_opened**(count)                | The number of connections opened for Microsoft EventHub.*Shown as connection*                             |
| **azure.eventhub\_clusters.cpu**(gauge)                                | The CPU utilization for the EventHub cluster as a percentage*Shown as percent*                            |
| **azure.eventhub\_clusters.incoming\_bytes**(gauge)                    | The incoming bytes for Microsoft EventHub.*Shown as byte*                                                 |
| **azure.eventhub\_clusters.incoming\_messages**(count)                 | The number of incoming messages for Microsoft EventHub.*Shown as message*                                 |
| **azure.eventhub\_clusters.incoming\_requests**(count)                 | The number of incoming requests for Microsoft EventHub.*Shown as request*                                 |
| **azure.eventhub\_clusters.outgoing\_bytes**(gauge)                    | The outgoing bytes for Microsoft EventHub.*Shown as byte*                                                 |
| **azure.eventhub\_clusters.outgoing\_messages**(count)                 | The number of outgoing messages for Microsoft EventHub.*Shown as message*                                 |
| **azure.eventhub\_clusters.quota\_exceeded\_errors**(count)            | The number of quota exceeded errors for Microsoft EventHub.*Shown as error*                               |
| **azure.eventhub\_clusters.server\_errors**(count)                     | The number of server errors for Microsoft EventHub.*Shown as error*                                       |
| **azure.eventhub\_clusters.size**(gauge)                               | The size of an EventHub in bytes.*Shown as byte*                                                          |
| **azure.eventhub\_clusters.successful\_requests**(count)               | The number of successful requests for Microsoft EventHub.*Shown as request*                               |
| **azure.eventhub\_clusters.throttled\_requests**(count)                | The number of throttled requests for Microsoft EventHub.*Shown as request*                                |
| **azure.eventhub\_clusters.user\_errors**(count)                       | The number of user errors for Microsoft EventHub.*Shown as error*                                         |
| **azure.eventhub\_clusters.count**(gauge)                              | The count of Azure EventHub Clusters integration                                                          |
| **azure.eventhub\_namespaces.cpu**(gauge)                              | CPU usage metric for premium SKU namespaces.*Shown as percent*                                            |
| **azure.eventhub\_namespaces.memory\_usage**(gauge)                    | Memory usage metric for premium SKU namespaces.*Shown as percent*                                         |
| **azure.eventhub\_namespaces.replication\_lag\_count**(gauge)          | Replication lag by message count.                                                                         |
| **azure.eventhub\_namespaces.replication\_lag\_duration**(gauge)       | Replication lag by time duration.*Shown as second*                                                        |
| **azure.eventhub\_clusters.cluster\_utilization**(gauge)               | Aggregated utilization percentage across all resources of which your cluster comprises.*Shown as percent* |

### Events{% #events %}

The Azure Event Hub integration does not include any events.

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

The Azure Event Hub integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

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