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

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

# OpenTelemetry in Datadog

{% callout %}
##### Try "Introduction to OTel with Datadog" in the Learning Center

Learn how to configure OpenTelemetry to export metrics, traces, and logs to Datadog, and explore the collected data in the platform.

[ENROLL NOW](https://learn.datadoghq.com/courses/otel-with-datadog)
{% /callout %}

## Overview{% #overview %}

[OpenTelemetry](https://opentelemetry.io/) (OTel) provides standardized protocols for collecting and routing telemetry data. Datadog supports multiple ways to collect and analyze telemetry data from OpenTelemetry-instrumented applications, whether you're using existing Datadog infrastructure or prefer a vendor-neutral setup.

### Why OpenTelemetry with Datadog?{% #why-opentelemetry-with-datadog %}

Datadog provides advanced observability for all your application telemetry, regardless of its source. By supporting OpenTelemetry, Datadog offers:

- **Flexibility and choice**: Use standardized instrumentation while maintaining freedom to adapt as your technology needs evolve.
- **Comprehensive language support**: Consistently monitor applications across your entire tech stack.
- **Unified instrumentation**: Maintain a single approach to instrumentation across your systems.
- **Powerful analytics**: Combine OpenTelemetry's standardization with Datadog's robust analysis, visualization, and alerting capabilities.

Whether you're already using OpenTelemetry or considering adoption, Datadog provides flexible options to meet your needs.

### Key decisions{% #key-decisions %}

There are two key decisions to make when using OpenTelemetry with Datadog:

- How to instrument your applications
- How to send your data to Datadog

SDK and deployment choices determine which Datadog capabilities and support options are available. DDOT SDKs are Datadog's version of OpenTelemetry SDKs, with additional Datadog-specific capabilities. Upstream OpenTelemetry SDKs also work well with Datadog, and are maintained and supported by the OpenTelemetry community.

For more information, read [Feature Compatibility](https://docs.datadoghq.com/opentelemetry/compatibility.md).

## Instrument your applications{% #instrument-your-applications %}

Datadog supports traces, metrics, and logs from DDOT SDKs and upstream OpenTelemetry SDKs. Both use OpenTelemetry APIs, Semantic Conventions, OTLP, and standard OpenTelemetry configuration and deployment tooling.

- **[Datadog OpenTelemetry SDKs (DDOT SDKs)](https://docs.datadoghq.com/opentelemetry/instrument/ddot_sdks.md)** are Datadog's version of OpenTelemetry SDKs and are in Preview. Choose this approach for Datadog support of your instrumentation and for additional Datadog-specific capabilities, such as Live Debugger, Dynamic Instrumentation, Database Monitoring, and Data Streams Monitoring. Availability varies by language and capability; some capabilities require the Datadog Agent.
- **[Upstream OpenTelemetry SDKs](https://docs.datadoghq.com/opentelemetry/instrument/upstream_otel_sdks.md)** are maintained and supported by the OpenTelemetry community. Choose this approach if your organization's policy allows only upstream OpenTelemetry components, or for languages that DDOT SDKs don't cover yet.

You can switch between DDOT SDKs and upstream SDKs while keeping OpenTelemetry API instrumentation, standard configuration, and telemetry. Switching to upstream SDKs removes the Datadog-specific capabilities.

Run one SDK per application process to avoid duplicate instrumentation. SDK installation and telemetry routing are separate: both DDOT SDKs and upstream SDKs export OTLP to an OpenTelemetry Collector or another OTLP-compatible backend.

For more information, see [Instrument Your Applications](https://docs.datadoghq.com/opentelemetry/instrument.md) and [Feature Compatibility](https://docs.datadoghq.com/opentelemetry/compatibility.md).

## Send OpenTelemetry data to Datadog{% #send-opentelemetry-data-to-datadog %}

If your applications and services are instrumented with OpenTelemetry libraries, you can choose how to get traces, metrics, and logs data into Datadog.

{% alert level="info" %}
**Not sure which setup is right for you?** See the [Feature Compatibility](https://docs.datadoghq.com/opentelemetry/compatibility.md) table to understand which Datadog features are supported.
{% /alert %}

### Option 1: Use the Datadog Agent and the Agent's Collector{% #option-1-use-the-datadog-agent-and-the-agents-collector %}

{% image
   source="https://docs.dd-static.net/images/opentelemetry/setup/ddot-collector-2.48e827fe0ea4d62cd26a81521e9fa584.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/opentelemetry/setup/ddot-collector-2.48e827fe0ea4d62cd26a81521e9fa584.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="Architecture overview of the Agent's Collector, an OpenTelemetry Collector deployed with the Datadog Agent." /%}

**Best for**: Users looking to gain both OTel vendor neutrality and Datadog ecosystem innovations, such as:

- Fleet Automation
- Live Container Monitoring
- Kubernetes Explorer
- Live Processes
- Cloud Network Monitoring
- Universal Service Monitoring
- 1,000+ Datadog integrations



- [Learn more about using the Datadog Agent with OpenTelemetry](https://docs.datadoghq.com/opentelemetry/setup/agent.md)
 
### Option 2: Use the OpenTelemetry Collector{% #option-2-use-the-opentelemetry-collector %}

{% image
   source="https://docs.dd-static.net/images/opentelemetry/setup/oss-collector.87b23183d15b59aacf4be6dff082d82f.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/opentelemetry/setup/oss-collector.87b23183d15b59aacf4be6dff082d82f.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="Diagram: OpenTelemetry SDK in code sends data through OTLP to a host running the OpenTelemetry Collector, which forwards data to Datadog over OTLP." /%}

**Best for**: New or existing OTel users who want to manage their own OpenTelemetry Collector.

- Standard OpenTelemetry pipeline that exports to Datadog over OTLP
- Flexible configuration options like tail-based sampling and data transformations
- A choice of Collector: the [DDOT Collector](https://docs.datadoghq.com/opentelemetry/setup/ddot_collector.md), which Datadog builds and supports, or the upstream OpenTelemetry Collector



- [Learn more about using the OTel Collector](https://docs.datadoghq.com/opentelemetry/setup/collector_exporter.md)
 
### Additional setup options{% #additional-setup-options %}

Running a Datadog Agent or OpenTelemetry Collector isn't always feasible, especially for serverless workloads, managed platforms, and environments with strict resource constraints. In these cases, you can send your OpenTelemetry data directly to Datadog using [direct OTLP ingestion](https://docs.datadoghq.com/opentelemetry/setup/otlp_ingest.md).

For all available methods, see [Send OpenTelemetry Data to Datadog](https://docs.datadoghq.com/opentelemetry/setup.md).

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

Additional helpful documentation, links, and articles:

- [Feature Compatibility](https://docs.datadoghq.com/opentelemetry/compatibility.md)
- [Instrument Your Applications](https://docs.datadoghq.com/opentelemetry/instrument.md)
- [Send Data to Datadog](https://docs.datadoghq.com/opentelemetry/setup.md)
- [OTLP ingestion by the Datadog Agent](https://docs.datadoghq.com/opentelemetry/setup/otlp_ingest_in_the_agent.md)
- [Datadog's partnership with OpenTelemetry](https://www.datadoghq.com/blog/opentelemetry-instrumentation/)
- [Monitor OpenTelemetry-instrumented apps with support for W3C Trace Context](https://www.datadoghq.com/blog/monitor-otel-with-w3c-trace-context/)
- [Send metrics and traces from OpenTelemetry Collector to Datadog via Datadog Exporter](https://www.datadoghq.com/blog/ingest-opentelemetry-traces-metrics-with-datadog-exporter/)
- [Forward logs from the OpenTelemetry Collector with the Datadog Exporter](https://www.datadoghq.com/blog/opentelemetry-logs-datadog-exporter/)
- [Learn more about AWS's managed Lambda Layer for OpenTelemetry](https://www.datadoghq.com/blog/aws-opentelemetry-lambda-layer-datadog/)
- [Correlate Datadog RUM events with traces from OpenTelemetry-instrumented applications](https://www.datadoghq.com/blog/correlate-traces-datadog-rum-otel/)
- [Monitor runtime metrics from OTel-instrumented apps with Datadog APM](https://www.datadoghq.com/blog/opentelemetry-runtime-metrics-datadog/)
- [How to select your OpenTelemetry deployment](https://www.datadoghq.com/blog/otel-deployments/)
- [Introduction to OpenTelemetry with Datadog](https://learn.datadoghq.com/courses/otel-with-datadog)
- [Understanding OpenTelemetry](https://learn.datadoghq.com/courses/understanding-opentelemetry)
- [Control trace volume with OpenTelemetry tail-based sampling](https://www.datadoghq.com/blog/control-trace-volume-with-opentelemetry-tail-based-sampling/)
