From 12a601c8a3b19e28c9095b5dcf765365cd41a766 Mon Sep 17 00:00:00 2001 From: Sam Crowder Date: Wed, 16 Jul 2025 11:35:48 -0700 Subject: [PATCH] fix: add disclaimer to the docs about DD_API_KEY overriding app-level tracing --- docs/docs/cloud/reference/env_var.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/cloud/reference/env_var.md b/docs/docs/cloud/reference/env_var.md index 333508d96..f580e4930 100644 --- a/docs/docs/cloud/reference/env_var.md +++ b/docs/docs/cloud/reference/env_var.md @@ -28,6 +28,8 @@ Specify `DD_API_KEY` (your [Datadog API Key](https://docs.datadoghq.com/account_ If `DD_API_KEY` is specified, the application process is wrapped in the [`ddtrace-run` command](https://ddtrace.readthedocs.io/en/stable/installation_quickstart.html). Other `DD_*` environment variables (e.g. `DD_SITE`, `DD_ENV`, `DD_SERVICE`, `DD_TRACE_ENABLED`) are typically needed to properly configure the tracing instrumentation. See [`DD_*` environment variables](https://ddtrace.readthedocs.io/en/stable/configuration.html) for more details. +> **Note:** Enabling `DD_API_KEY` (and thus `ddtrace-run`) can override or interfere with other tracing or autoinstrumentation solutions (such as OpenTelemetry) that you may have instrumented into your application code. + ## `LANGCHAIN_TRACING_SAMPLING_RATE` Sampling rate for traces sent to LangSmith. Valid values: Any float between `0` and `1`.