---
title: Datadog and OpenTelemetry Compatibility
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > OpenTelemetry in Datadog > Datadog and OpenTelemetry Compatibility
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Datadog and OpenTelemetry Compatibility

## Overview{% #overview %}

Use this page to choose an OpenTelemetry setup based on the Datadog products and features you need.

## Setups{% #setups %}

Choose an SDK and a Collector or Datadog Agent to process and forward telemetry. For SDK deployment guidance, see [Instrument Your Applications](https://docs.datadoghq.com/opentelemetry/instrument.md).

| Setup Type                                                                                                                             | API                     | SDK                        | Collector/Agent                                                                    |
| -------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | -------------------------- | ---------------------------------------------------------------------------------- |
| [**DDOT SDK + OpenTelemetry Collector**](https://docs.datadoghq.com/opentelemetry/instrument/ddot_sdks.md) (Preview)                   | OTel API                | DDOT SDK                   | DDOT Collector or upstream OpenTelemetry Collector (the Datadog Agent is optional) |
| [**Upstream OpenTelemetry SDK + DDOT Collector**](https://docs.datadoghq.com/opentelemetry/setup/ddot_collector.md) (Preview)          | OTel API                | Upstream OpenTelemetry SDK | DDOT Collector (the Datadog Agent is optional)                                     |
| [**Datadog SDK + Datadog Agent's Collector**](https://docs.datadoghq.com/opentelemetry/setup/agent.md#agents-collector)                | Datadog API or OTel API | Datadog SDK                | Datadog Agent's Collector (runs alongside the Datadog Agent)                       |
| [**Upstream OpenTelemetry SDK + Datadog Agent's Collector**](https://docs.datadoghq.com/opentelemetry/setup/agent.md#agents-collector) | OTel API                | Upstream OpenTelemetry SDK | Datadog Agent's Collector (runs alongside the Datadog Agent)                       |
| [**Upstream OpenTelemetry SDK + Upstream OpenTelemetry Collector**](https://docs.datadoghq.com/opentelemetry/collector_exporter.md)    | OTel API                | Upstream OpenTelemetry SDK | OpenTelemetry Collector Contrib                                                    |
| [**Direct OTLP Ingest**](https://docs.datadoghq.com/opentelemetry/setup/agentless.md)                                                  | OTel API                | Upstream OpenTelemetry SDK | N/A (Direct to Datadog endpoint)                                                   |

## Feature compatibility{% #feature-compatibility %}

Use the tables below to check feature availability for your SDK and telemetry route.

### DDOT SDK setups{% #ddot-sdk-setups %}

DDOT SDKs send traces, metrics, and logs over OTLP to an OpenTelemetry Collector. These signals don't go through the Datadog Agent. The Datadog Agent is needed only for the Datadog-specific capabilities marked below. It acts mainly as a Remote Configuration proxy and doesn't change how your OpenTelemetry telemetry flows.

Capabilities and configuration requirements vary by language and SDK version.

| Capability                                                                                                   | Without the Datadog Agent                                                                               | With the Datadog Agent |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------- | ---------------------- |
| [Core traces, metrics, and logs](https://docs.datadoghq.com/opentelemetry/instrument.md)                     | yes                                                                                                     | yes                    |
| [Live Debugger](https://docs.datadoghq.com/tracing/live_debugger.md)                                         | yes                                                                                                     |
| [Dynamic Instrumentation](https://docs.datadoghq.com/tracing/trace_collection/dynamic_instrumentation.md)    | yes                                                                                                     |
| [Remotely configured head sampling](https://docs.datadoghq.com/tracing/trace_pipeline/ingestion_controls.md) | yes                                                                                                     |
| [SQL query-level DBM correlation](https://docs.datadoghq.com/database_monitoring/connect_dbm_and_apm.md)     | yes                                                                                                     | yes                    |
| [Database Monitoring](https://docs.datadoghq.com/database_monitoring/setup.md) (DBM)                         | yes                                                                                                     |
| [Data Streams Monitoring](https://docs.datadoghq.com/data_streams.md) (DSM)                                  | yes                                                                                                     |
| [Feature Flag Management](https://docs.datadoghq.com/feature_flags.md)                                       | See [agentless requirements](https://docs.datadoghq.com/feature_flags/server.md#configuration-delivery) | yes                    |
| [App and API Protection](https://docs.datadoghq.com/security/application_security.md) (AAP)                  | yes                                                                                                     |
| [Code Security](https://docs.datadoghq.com/security/code_security.md) (IAST, SCA)                            | yes(without Remote Configuration)                                                                       | yes                    |
| [Continuous Profiler](https://docs.datadoghq.com/profiler.md)                                                | Not supported                                                                                           | Not supported          |

Datadog-specific capabilities can also use OTLP. Some require product-specific configuration or additional data destinations. See the linked product documentation for setup requirements.

### Datadog platform features by setup{% #datadog-platform-features-by-setup %}

This table covers Datadog platform features for each setup. DDOT SDKs and upstream OpenTelemetry SDKs send telemetry over OTLP. Datadog SDKs send traces to the Datadog Agent using Datadog semantics and protocols.

| Feature                                                                                                                                 | DDOT SDK + DDOT Collector (Preview) | Upstream OpenTelemetry SDK + DDOT Collector (Preview) | Datadog SDK + Agent's Collector                                   | Upstream OpenTelemetry SDK + Agent's Collector       | Upstream OpenTelemetry SDK + Upstream OpenTelemetry Collector | Direct OTLP Ingest                                                                                      |
| --------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- | ----------------------------------------------------- | ----------------------------------------------------------------- | ---------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| [Cloud SIEM](https://docs.datadoghq.com/security/cloud_siem.md)                                                                         | yes                                 | yes                                                   | yes                                                               | yes                                                  | yes                                                           | yes                                                                                                     |
| [Correlated Traces, Metrics, Logs](https://docs.datadoghq.com/opentelemetry/correlate.md)                                               | yes                                 | yes                                                   | yes                                                               | yes                                                  | yes                                                           | yes                                                                                                     |
| [Distributed Tracing](https://docs.datadoghq.com/tracing/trace_collection.md)                                                           | yes                                 | yes                                                   | yes                                                               | yes                                                  | yes                                                           | yes                                                                                                     |
| [Agent Observability](https://docs.datadoghq.com/llm_observability/instrument/otel_instrumentation.md)                                  | yes                                 | yes                                                   | yes                                                               | yes                                                  | yes                                                           | yes                                                                                                     |
| [Runtime Metrics](https://docs.datadoghq.com/tracing/metrics/runtime_metrics.md)                                                        | yes                                 | yes                                                   | yes                                                               | yes                                                  | yes                                                           | yes                                                                                                     |
| [Span Links](https://docs.datadoghq.com/tracing/trace_collection/span_links.md)                                                         | yes                                 | yes                                                   | yes                                                               | yes                                                  | yes                                                           | yes                                                                                                     |
| [Trace Metrics](https://docs.datadoghq.com/tracing/metrics/metrics_namespace.md)                                                        | yes                                 | yes                                                   | yes                                                               | yes                                                  | yes                                                           | yes(Sampled (Calculated from spans that reach Datadog; reflects any OTel-side sampling you configure.)) |
| [Infrastructure Host List](https://docs.datadoghq.com/infrastructure/list.md)                                                           | yes                                 | yes                                                   | yes                                                               | yes                                                  | yes                                                           |
| [Kubernetes Monitoring](https://docs.datadoghq.com/containers/monitoring/kubernetes_explorer.md)                                        | yes                                 | yes                                                   | yes                                                               | yes                                                  | yes                                                           |
| [Source Code Integration](https://docs.datadoghq.com/integrations/guide/source-code-integration.md)                                     | yes                                 | yes                                                   | yes                                                               | yes                                                  | yes                                                           |
| [Database Monitoring](https://docs.datadoghq.com/opentelemetry/correlate/dbm_and_traces.md) (DBM)                                       | With Agent                          | yes                                                   | yes(without SQL query-level monitoring, which requires DDOT SDKs) |
| [Cloud Network Monitoring](https://docs.datadoghq.com/network_monitoring/performance.md) (CNM)                                          | yes                                 | yes                                                   |
| [Live Container Monitoring](https://docs.datadoghq.com/containers.md)                                                                   | yes                                 | yes                                                   |
| [Live Processes](https://docs.datadoghq.com/infrastructure/process.md)                                                                  | yes                                 | yes                                                   |
| [Universal Service Monitoring](https://docs.datadoghq.com/universal_service_monitoring.md) (USM)                                        | yes                                 | yes                                                   |
| [App and API Protection](https://docs.datadoghq.com/security/application_security.md) (AAP)                                             | With Agent                          | yes                                                   |
| [Continuous Profiler](https://docs.datadoghq.com/profiler.md)                                                                           | yes                                 |
| [Data Observability: Jobs Monitoring](https://docs.datadoghq.com/data_jobs.md) (DJM)                                                    | yes                                 |
| [Data Streams Monitoring](https://docs.datadoghq.com/data_streams.md) (DSM)                                                             | With Agent                          | N/A (Not available with upstream OpenTelemetry SDKs)  | yes                                                               | N/A (Not available with upstream OpenTelemetry SDKs) | N/A (Not available with upstream OpenTelemetry SDKs)          |
| [Real User Monitoring](https://docs.datadoghq.com/opentelemetry/correlate/rum_and_traces.md?tab=browserrum#opentelemetry-support) (RUM) | yes                                 |

**Note**: Features that need the Datadog Agent, such as [Cloud Network Monitoring](https://docs.datadoghq.com/network_monitoring/performance.md), [Live Container Monitoring](https://docs.datadoghq.com/containers.md), [Live Processes](https://docs.datadoghq.com/infrastructure/process.md), and [Universal Service Monitoring](https://docs.datadoghq.com/universal_service_monitoring.md), work with the DDOT Collector when you also run the Datadog Agent. See [Add the Datadog Agent](https://docs.datadoghq.com/opentelemetry/setup/ddot_collector/kubernetes.md#install-the-core-datadog-agent-alongside-ddot).

## API support{% #api-support %}

DDOT SDKs (Java, .NET, Node.js, Python, and Go) support the OpenTelemetry Traces, Metrics, and Logs APIs. The Datadog SDKs for Ruby and PHP also support these OpenTelemetry APIs, but they don't export traces over OTLP, so they aren't DDOT SDKs. Select a language for setup guides and support details.

| Language                                                                                                                  | Traces API | Metrics API | Logs API |
| ------------------------------------------------------------------------------------------------------------------------- | ---------- | ----------- | -------- |
| [.NET](https://docs.datadoghq.com/opentelemetry/instrument/ddot_sdks/api_support.md?prog_lang=dot_net&platform=traces)    | yes        | yes         | yes      |
| [Python](https://docs.datadoghq.com/opentelemetry/instrument/ddot_sdks/api_support.md?prog_lang=python&platform=traces)   | yes        | yes         | yes      |
| [Node.js](https://docs.datadoghq.com/opentelemetry/instrument/ddot_sdks/api_support.md?prog_lang=node_js&platform=traces) | yes        | yes         | yes      |
| [Java](https://docs.datadoghq.com/opentelemetry/instrument/ddot_sdks/api_support.md?prog_lang=java&platform=traces)       | yes        | yes         | yes      |
| [Go](https://docs.datadoghq.com/opentelemetry/instrument/ddot_sdks/api_support.md?prog_lang=go&platform=traces)           | yes        | yes         | yes      |
| [Ruby](https://docs.datadoghq.com/opentelemetry/instrument/ddot_sdks/api_support.md?prog_lang=ruby&platform=traces)       | yes        | Alpha       | yes      |
| [PHP](https://docs.datadoghq.com/opentelemetry/instrument/ddot_sdks/api_support.md?prog_lang=php&platform=traces)         | yes        | yes         | yes      |

## More details{% #more-details %}

### Agent Observability{% #agent-observability %}

OpenTelemetry traces that have [generative AI attributes](https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-spans/) are automatically converted into Agent Observability traces. To disable this conversion, see [Disabling Agent Observability conversion](https://docs.datadoghq.com/llm_observability/instrument/otel_instrumentation.md).

### Runtime metrics{% #runtime-metrics %}

- **Datadog SDKs in Datadog mode**: Emit [runtime metrics](https://docs.datadoghq.com/tracing/metrics/runtime_metrics.md) using DogStatsD (UDP port 8125). Enable DogStatsD in the Datadog Agent.
- **DDOT SDKs**: Supported languages and versions emit runtime metrics over OTLP. See [OTLP runtime metrics prerequisites](https://docs.datadoghq.com/tracing/metrics/runtime_metrics.md#export-runtime-metrics-over-otlp).
- **Upstream OpenTelemetry SDKs**: Emit [OpenTelemetry runtime metrics](https://docs.datadoghq.com/opentelemetry/integrations/runtime_metrics.md), typically over OTLP (port 4317/4318).

### Real User Monitoring (RUM){% #real-user-monitoring-rum %}

To enable full RUM functionality, you need to [inject supported headers](https://docs.datadoghq.com/real_user_monitoring/correlate_with_other_telemetry/apm.md) to correlate RUM and traces.

### Cloud Network Monitoring (CNM){% #cloud-network-monitoring-cnm %}

Span-level or endpoint-level monitoring is **not** supported.

For more information, see [Cloud Network Monitoring Setup](https://docs.datadoghq.com/network_monitoring/cloud_network_monitoring/setup.md).

### Source Code Integration{% #source-code-integration %}

For unsupported languages in OpenTelemetry setups, [configure telemetry tagging](https://docs.datadoghq.com/integrations/guide/source-code-integration.md?tab=go#configure-telemetry-tagging) to link data to a specific commit.

## Support levels{% #support-levels %}

Datadog provides different levels of support for OpenTelemetry components and configurations:

- **OpenTelemetry SDKs**
  - **DDOT SDKs**: Datadog's version of OpenTelemetry SDKs, supported by Datadog. During the Preview, support is provided on a best-effort basis.
  - **Upstream OpenTelemetry SDKs**: Maintained and supported by the OpenTelemetry community. Datadog supports the traces, metrics, and logs that they send.
  - **Unsupported runtimes**: For [instrumentation of unsupported runtimes](https://docs.datadoghq.com/opentelemetry/guide/instrument_unsupported_runtimes.md), Datadog provides guidance and documentation as a starting point but does not directly support this instrumentation. For issues, engage with the [OpenTelemetry community](https://opentelemetry.io/community/) or the instrumentation maintainers.
- **OpenTelemetry Collector**
  - **DDOT Collector**: Datadog's version of the OpenTelemetry Collector. Support depends on the component:
    - **Datadog Supported Components**: Datadog-owned components such as the [Datadog Connector](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/connector/datadogconnector/README.md), [Datadog Exporter](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/exporter/datadogexporter/README.md), and [Infra Attribute Processor](https://github.com/DataDog/datadog-agent/tree/main/comp/otelcol/otlp/components/processor/infraattributesprocessor#readme). These components are maintained by Datadog, receive regular updates, and are prioritized for bug fixes and feature enhancements.
    - **Community Supported Components**: OpenTelemetry components [included with the DDOT Collector](https://docs.datadoghq.com/opentelemetry/setup/ddot_collector.md#opentelemetry-collector-components) by default. Datadog helps ensure these components are secure, stable, and compatible.
    - **Custom Components**: OpenTelemetry components or configurations not included by default, such as [custom Collector components](https://docs.datadoghq.com/opentelemetry/setup/ddot_collector/custom_components.md). Datadog provides guidance and documentation as a starting point but does not directly support these components' functionality. For issues with custom components, engage with the [OpenTelemetry community](https://opentelemetry.io/community/) or the component maintainers.
  - **Upstream OpenTelemetry Collector**: Maintained and supported by the OpenTelemetry community. Datadog supports the traces, metrics, and logs that it sends. This includes the Datadog Connector and Datadog Exporter when they run in the upstream OpenTelemetry Collector, where they're community supported. Datadog supports them as Datadog Supported Components in the DDOT Collector.

## Platform and environment support{% #platform-and-environment-support %}

While the OpenTelemetry Collector can be deployed in many environments, certain platforms have specific limitations or support requirements.

- **AWS EKS Fargate**: This environment is **not currently supported** and will result in incorrect infrastructure host billing when used with the OpenTelemetry Collector. Official support is planned for a future release. See the [Collector setup guide](https://docs.datadoghq.com/opentelemetry/collector_exporter.md) for the most up-to-date information.

## Best practices{% #best-practices %}

When using Datadog and OpenTelemetry together, Datadog recommends the following best practices to ensure optimal performance and to avoid potential issues:

- **Avoid mixed instrumentation**: Run one SDK per application process. Don't activate a DDOT SDK and an upstream OpenTelemetry SDK in the same process. Follow the [language-specific instrumentation documentation](https://docs.datadoghq.com/tracing/trace_collection/custom_instrumentation/otel_instrumentation.md) for required SDK components and dependencies.
- **Configure Datadog Agent and Collector coexistence**: The Datadog Agent and an OpenTelemetry Collector can run on the same host. Configure their receiver ports and telemetry collection to avoid port conflicts and duplicate data. For a DDOT Collector deployment with an optional Datadog Agent, see [Add the Datadog Agent](https://docs.datadoghq.com/opentelemetry/setup/ddot_collector/kubernetes.md#install-the-core-datadog-agent-alongside-ddot).

## Further reading{% #further-reading %}

Additional helpful documentation, links, and articles:

- [OpenTelemetry Troubleshooting](https://docs.datadoghq.com/opentelemetry/troubleshooting.md)
