Datadog

Making Rust observability reliable at scale with OpenTelemetry | Datadog

Sep 1, 2026Björn Antonsson, Paul Le Grand des Cloizeaux, Scott Gerring
Making Rust observability reliable at scale with OpenTelemetry | Datadog
SummaryAI, from the source post

This post details Datadog's contributions to the OpenTelemetry Rust SDK and the creation of `dd-trace-rs`. Key technical contributions include: rewriting the OpenTelemetry Rust context representation to a proper stack (PR #2378) to improve interoperability with `tracing`'s span stack, leading to 2-4x faster context operations; extending the `tracing-opentelemetry` bridge (PR #202) to synchronize OpenTelemetry context with active `tracing` spans in real-time; and fixing a bug in `tracing` (PR #3379) related to layered subscriber callbacks. `dd-trace-rs` provides opinionated configurations for Datadog users, including automatic setup via environment variables, consistent sampling strategies, and reliable context propagation, leveraging the existing OpenTelemetry instrumentation ecosystem.