---
title: OpenTelemetry in Datadog
description: >-
  Send OpenTelemetry traces, metrics, and logs to Datadog. Use the recommended
  DDOT setup, the upstream OpenTelemetry setup if you use only OpenTelemetry
  project components, or another way to send your data.
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 %}

Use Datadog to monitor service health and investigate problems with your [OpenTelemetry](https://opentelemetry.io/) (OTel) data. Bring traces, metrics, logs, and infrastructure data together to understand where a problem occurs and what might be causing it.

- **Monitor your services**: Track request rates, errors, and latency, and create dashboards and alerts from your OpenTelemetry data.
- **Investigate across signals**: Follow a slow request across services, examine related logs, and check resource usage on the hosts and containers involved.
- **Keep your OpenTelemetry instrumentation**: Adopt Datadog OpenTelemetry (DDOT) components one at a time, or send data over the OpenTelemetry Protocol (OTLP) from upstream OpenTelemetry SDKs and Collectors. DDOT components work in place of their upstream equivalents, so you can switch between them.

Datadog maps the `service.name`, `deployment.environment.name`, and `service.version` resource attributes to [unified service tags](https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging.md), so you can filter telemetry by service, environment, and version. For correlation requirements and configuration, see [Correlate OpenTelemetry Data](https://docs.datadoghq.com/opentelemetry/correlate.md).

## Choose a setup{% #choose-a-setup %}

Every setup has two parts: an SDK in your application, and a route that sends your data to Datadog. Datadog recommends the DDOT setup, whose components are in Preview. If you use only OpenTelemetry project components, use the upstream OpenTelemetry setup. You can also mix components from the two setups: for example, a DDOT SDK can send to an upstream Collector. See [Send OpenTelemetry Data to Datadog](https://docs.datadoghq.com/opentelemetry/setup.md). To choose your SDK first, see [Instrument Your Applications](https://docs.datadoghq.com/opentelemetry/instrument.md).

### DDOT (recommended){% #ddot-recommended %}

Datadog OpenTelemetry (DDOT) is a set of OpenTelemetry components that Datadog builds and supports. Each one takes the place of an upstream component, so you can adopt them one at a time. DDOT components send standard OTLP, so you can also send your data to other OTLP-compatible backends.

{% image
   source="https://docs.dd-static.net/images/opentelemetry/setup/otel-path-ddot.914869fe87dcd4d2d9abedae2f7b9a93.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/opentelemetry/setup/otel-path-ddot.914869fe87dcd4d2d9abedae2f7b9a93.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="The DDOT SDK sends OTLP to the DDOT Collector, which sends telemetry to Datadog. A recommended Datadog Agent provides Remote Configuration." /%}

| Component                                                                                    | What it does                                                                                                                                                                                                                              |
| -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DDOT SDKs](https://docs.datadoghq.com/opentelemetry/instrument/ddot_sdks.md) (Preview)      | Instrument your application. A DDOT SDK is Datadog's version of the OpenTelemetry SDK for your language, with Datadog support and Datadog-specific capabilities, such as Live Debugger, Dynamic Instrumentation, and Database Monitoring. |
| [DDOT Collector](https://docs.datadoghq.com/opentelemetry/setup/ddot_collector.md) (Preview) | Receives your telemetry, processes it, and sends it to Datadog. It's an OpenTelemetry Collector that Datadog builds.                                                                                                                      |
| [Full-Host Profiler](https://docs.datadoghq.com/profiler/enabling/full_host.md) (Preview)    | Profiles every process on a host.                                                                                                                                                                                                         |

Deploy DDOT components with standard OpenTelemetry tooling, such as the OpenTelemetry Operator and Helm charts. Datadog recommends [running the Datadog Agent alongside them](https://docs.datadoghq.com/opentelemetry/setup/ddot_collector/kubernetes.md#install-the-core-datadog-agent-alongside-ddot) for the Datadog-specific capabilities of DDOT SDKs, such as Live Debugger and Dynamic Instrumentation. The Datadog Agent acts mainly as a Remote Configuration proxy: traces, metrics, and logs still go over OTLP to the Collector. See [Feature Compatibility](https://docs.datadoghq.com/opentelemetry/compatibility.md).

**Best for**: Teams that want Datadog to build and support their OpenTelemetry components.



- [Install DDOT with the Kubernetes quickstart](https://docs.datadoghq.com/opentelemetry/getting_started/kubernetes.md?tab=ddot)
- [Learn about the DDOT Collector](https://docs.datadoghq.com/opentelemetry/setup/ddot_collector.md)
 
### Upstream OpenTelemetry{% #upstream-opentelemetry %}

Use the [upstream OpenTelemetry SDK](https://docs.datadoghq.com/opentelemetry/instrument/upstream_otel_sdks.md) and the [upstream OpenTelemetry Collector](https://docs.datadoghq.com/opentelemetry/setup/collector_exporter.md), and send OTLP to the Datadog OTLP intake. Every component comes from the OpenTelemetry project.

{% image
   source="https://docs.dd-static.net/images/opentelemetry/setup/otel-path-upstream.fed215d3d176cf851dcf0b2243b9214a.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/opentelemetry/setup/otel-path-upstream.fed215d3d176cf851dcf0b2243b9214a.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="The upstream OpenTelemetry SDK sends OTLP to the upstream OpenTelemetry Collector, which sends OTLP over HTTP to Datadog." /%}

**Best for**: Teams whose policy allows only upstream OpenTelemetry components, or applications in languages that DDOT SDKs don't support.



- [Install upstream OpenTelemetry with the Kubernetes quickstart](https://docs.datadoghq.com/opentelemetry/getting_started/kubernetes.md?tab=upstream)
- [Set up the upstream OpenTelemetry Collector](https://docs.datadoghq.com/opentelemetry/setup/collector_exporter.md)
 
## Other setups{% #other-setups %}

| If you                                                                      | Use                                                                                                                                                                                                                                                                                                                              |
| --------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Can't run a Collector, such as on serverless functions or managed platforms | [Direct OTLP ingest](https://docs.datadoghq.com/opentelemetry/setup/otlp_ingest.md): Your applications send OTLP straight to Datadog.                                                                                                                                                                                            |
| Already run the Datadog Agent                                               | [The Datadog Agent](https://docs.datadoghq.com/opentelemetry/setup/agent.md): The Datadog Agent receives OTLP at the Datadog Agent's OTLP endpoint, or runs the [Agent's Collector](https://docs.datadoghq.com/opentelemetry/setup/agent.md#agents-collector), an OpenTelemetry Collector that runs alongside the Datadog Agent. |
| Run a Collector that uses the Datadog Exporter                              | [Datadog Exporter](https://docs.datadoghq.com/opentelemetry/setup/collector_exporter/datadog_exporter.md): Keep your existing configuration.                                                                                                                                                                                     |

To compare every setup, see [Send OpenTelemetry Data to Datadog](https://docs.datadoghq.com/opentelemetry/setup.md). To check which Datadog features each setup supports, see [Feature Compatibility](https://docs.datadoghq.com/opentelemetry/compatibility.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)
- [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/)
- [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/)
