Azure App Insights Integration
Join the Preview
The Azure App Insights Integration is in Preview. Use this form to request access.
Request AccessOverview
Bring your Azure Application Insights distributed traces into Datadog APM. Datadog converts App Insights traces into APM spans and enriches spans from supported services with Azure resource metadata.
The integration reads App Insights records forwarded to Datadog as logs and emits APM spans from them. No changes to your application code or instrumentation are required.
How it works
When Application Insights is enabled on your workloads and your Azure logs are flowing to Datadog, Datadog:
- Reads App Insights records from your forwarded Azure logs.
- Converts each App Insights operation into a Datadog APM span, preserving parent-child relationships across both the legacy hierarchical Request-Id format and W3C Trace Context.
- Enriches spans for supported Azure services with Azure resource metadata, including resource group, subscription, region, and resource tags.
After conversion, the spans behave like any other Datadog APM spans. They appear in the same waterfall view, support trace search, and correlate with your logs and metrics.
Prerequisites
Before you can use the Azure App Insights Integration, set up the following:
- Enable Azure Application Insights on the Azure workloads you want to trace, using the classic Application Insights SDK. If your workload uses the Azure Monitor OpenTelemetry Distro, see OpenTelemetry in Datadog instead.
- Configure Azure Automated Log Forwarding to forward Azure App Insights Logs to Datadog. Confirm that metrics and resource collection are enabled in the Microsoft Azure integration, so spans can be enriched with Azure resource metadata.
To lower log indexing costs without affecting traces or enhanced metrics, use
exclusion filters at the index level instead of dropping logs before they reach Datadog. Index-level exclusion filters apply after ingestion, so they reduce what Datadog indexes and stores while leaving trace generation intact. Filtering or dropping these logs before they are ingested (for example, at the log source or forwarder) prevents Datadog from generating traces and enhanced metrics.
Supported Azure services
Datadog enriches converted spans with Azure resource metadata for the following services:
- Azure Functions
- Azure App Service
- Azure Storage
- Azure Cosmos DB
- Azure API Management
- Azure Cache for Redis
Traces from other Azure services are converted into APM spans, but without Azure resource metadata enrichment.
Request access
The Azure App Insights Integration is in Preview. To request access, sign up through the Preview form. The Datadog team responds within one week to confirm access.
Limitations
- Preview status. The integration is in Preview with a limited design-partner cohort. Access is granted after sign-up through the Preview form.
- Resource metadata enrichment is service-specific. Spans for Azure services outside the supported list are converted but not enriched with Azure resource metadata.
- Mixed-format trace hierarchy depends on span links. Some Azure workloads emit a mix of the legacy hierarchical Request-Id format and W3C Trace Context. Datadog connects the two formats with span links, so you can navigate between related traces.
Further reading
Additional helpful documentation, links, and articles: