For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/serverless/azure_database_messaging_services/azure_event_hubs.md. A documentation index is available at /llms.txt.

Serverless Monitoring for Azure Event Hubs

Overview

Datadog APM uses inferred spans to collect traces and trace metrics from Azure Event Hubs. These spans are generated by the Datadog tracers SDKs and appear directly in flame graph and waterfall views.

Python and Node.js support producers; .NET supports both producers and consumers. Event Hubs distributed tracing requires no additional setup beyond existing instrumentation for APM users.

Supported runtimes

RuntimeMin tracer versionMin Lambda LayerMin Azure SDK
Python 3.8/3.9 (Producer only)dd-trace-py v3.17.0lambda-python v3.19.6azure-eventhub >= 5.12.2
Python 3.10+ (Producer only)dd-trace-py v3.17.0lambda-python v4.8.1azure-eventhub >= 5.12.2
Node.js (Producer only)dd-trace-js v5.72.0lambda-js v12.129.0@azure/event-hubs >= 6.0.0
.NET (Producer & consumer)dd-trace-dotnet v3.30.0N/AAzure.Messaging.EventHubs >= 5.9.2