From bdf1215ced4640ad685efa2044d6e9f149bc3b92 Mon Sep 17 00:00:00 2001 From: Andrew Nguonly Date: Tue, 25 Feb 2025 11:24:59 -0800 Subject: [PATCH] docs: Add docs for `DD_API_KEY` env var (#3585) --- docs/docs/cloud/reference/env_var.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/docs/cloud/reference/env_var.md b/docs/docs/cloud/reference/env_var.md index 009b3a64f..9d1cd273c 100644 --- a/docs/docs/cloud/reference/env_var.md +++ b/docs/docs/cloud/reference/env_var.md @@ -2,6 +2,12 @@ The LangGraph Cloud Server supports specific environment variables for configuring a deployment. +## `DD_API_KEY` + +Specify `DD_API_KEY` (your [Datadog API Key](https://docs.datadoghq.com/account_management/api-app-keys/)) to automatically enable Datadog tracing for the deployment. Specify other [`DD_*` environment variables](https://ddtrace.readthedocs.io/en/stable/configuration.html) to configure the tracing instrumentation. + +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. + ## `LANGCHAIN_TRACING_SAMPLING_RATE` Sampling rate for traces sent to LangSmith. Valid values: Any float between `0` and `1`.