OpenTelemetry in Datadog

Important: OpenTelemetry Collector Contrib v0.95.0 introduces a breaking change that disables Trace Metrics computation in the Datadog Exporter. Follow Datadog's migration guide when upgrading.

Overview

OpenTelemetry is an open source observability framework that provides IT teams with standardized protocols and tools for collecting and routing telemetry data. Created as an incubator project by the Cloud Native Computing Foundation (CNCF), OpenTelemetry provides a consistent format for instrumenting, generating, gathering, and exporting application telemetry data—namely metrics, logs, and traces—to monitoring platforms for analysis and insight.

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

  1. Send data to the OpenTelemetry collector, and use the Datadog exporter to forward it to Datadog, or

  2. Ingest data with the Datadog Agent, which collects it for Datadog.

Map options for generating telemetry data and sending it to observability products.
Custom Instrumentation with the OpenTelemetry API
You can configure OpenTelemetry instrumented applications to use the Datadog APM SDK to process spans and traces. For more information, read Custom Instrumentation with the OpenTelemetry API.

Datadog supports the W3C Trace Context standard, ensuring complete traces are captured even when a request travels between services that have been instrumented with different tools. Services need only be instrumented with any system, such as an OpenTelemetry library or Datadog tracing library, that follows the W3C Trace Context standard. Read Propagating Trace Context for more information.

Further reading