From 12a601c8a3b19e28c9095b5dcf765365cd41a766 Mon Sep 17 00:00:00 2001 From: Sam Crowder Date: Wed, 16 Jul 2025 11:35:48 -0700 Subject: [PATCH 1/3] 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`. From 7f821dededc2740775d09f3622b2c1a117fba086 Mon Sep 17 00:00:00 2001 From: Sam Crowder Date: Wed, 16 Jul 2025 11:36:16 -0700 Subject: [PATCH 2/3] remove word tracing --- docs/docs/cloud/reference/env_var.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/cloud/reference/env_var.md b/docs/docs/cloud/reference/env_var.md index f580e4930..c2a298939 100644 --- a/docs/docs/cloud/reference/env_var.md +++ b/docs/docs/cloud/reference/env_var.md @@ -28,7 +28,7 @@ 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. +> **Note:** Enabling `DD_API_KEY` (and thus `ddtrace-run`) can override or interfere with other autoinstrumentation solutions (such as OpenTelemetry) that you may have instrumented into your application code. ## `LANGCHAIN_TRACING_SAMPLING_RATE` From d2cc02d789b5db7c21de3b86852c7dfa54af7c05 Mon Sep 17 00:00:00 2001 From: Sam Crowder Date: Wed, 16 Jul 2025 14:17:56 -0700 Subject: [PATCH 3/3] Update docs/docs/cloud/reference/env_var.md Co-authored-by: Lauren Hirata Singh --- docs/docs/cloud/reference/env_var.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs/cloud/reference/env_var.md b/docs/docs/cloud/reference/env_var.md index c2a298939..e24270c13 100644 --- a/docs/docs/cloud/reference/env_var.md +++ b/docs/docs/cloud/reference/env_var.md @@ -28,7 +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 autoinstrumentation solutions (such as OpenTelemetry) that you may have instrumented into your application code. +!!! note + Enabling `DD_API_KEY` (and thus `ddtrace-run`) can override or interfere with other auto-instrumentation solutions (such as OpenTelemetry) that you may have instrumented into your application code. ## `LANGCHAIN_TRACING_SAMPLING_RATE`