diff --git a/content/en/llm_observability/instrumentation/otel_instrumentation.md b/content/en/llm_observability/instrumentation/otel_instrumentation.md index 73389dbe878..bce1393c996 100644 --- a/content/en/llm_observability/instrumentation/otel_instrumentation.md +++ b/content/en/llm_observability/instrumentation/otel_instrumentation.md @@ -26,7 +26,7 @@ Set the following environment variables in your application: ``` OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/protobuf OTEL_EXPORTER_OTLP_TRACES_ENDPOINT={{< region-param key="otlp_trace_endpoint" code="true" >}} -OTEL_EXPORTER_OTLP_TRACES_HEADERS=dd-api-key=,dd-otlp-source=datadog +OTEL_EXPORTER_OTLP_TRACES_HEADERS=dd-api-key=,dd-otlp-source=llmobs ``` Replace `` with your [Datadog API key][2]. @@ -90,7 +90,7 @@ os.environ["OTEL_SEMCONV_STABILITY_OPT_IN"] = "gen_ai_latest_experimental" # Configure OTLP endpoint to send traces to Datadog LLM Observability os.environ["OTEL_EXPORTER_OTLP_TRACES_PROTOCOL"] = "http/protobuf" os.environ["OTEL_EXPORTER_OTLP_TRACES_ENDPOINT"] = "{{< region-param key="otlp_trace_endpoint" code="true" >}}" -os.environ["OTEL_EXPORTER_OTLP_TRACES_HEADERS"] = f"dd-api-key={os.getenv('DD_API_KEY')},dd-otlp-source=datadog" +os.environ["OTEL_EXPORTER_OTLP_TRACES_HEADERS"] = f"dd-api-key={os.getenv('DD_API_KEY')},dd-otlp-source=llmobs" # Initialize telemetry with OTLP exporter telemetry = StrandsTelemetry() @@ -121,7 +121,7 @@ from openai import OpenAI # Configure OpenTelemetry to send traces to Datadog os.environ["OTEL_EXPORTER_OTLP_TRACES_ENDPOINT"] = "{{< region-param key="otlp_trace_endpoint" code="true" >}}" -os.environ["OTEL_EXPORTER_OTLP_TRACES_HEADERS"] = "dd-api-key=,dd-otlp-source=datadog" +os.environ["OTEL_EXPORTER_OTLP_TRACES_HEADERS"] = "dd-api-key=,dd-otlp-source=llmobs" os.environ["OTEL_SEMCONV_STABILITY_OPT_IN"] = "gen_ai_latest_experimental" # Initialize OpenTelemetry SDK @@ -226,7 +226,7 @@ exporter = OTLPSpanExporter( headers={ "dd-api-key": "", "dd-ml-app": "simple-openllmetry-test", - "dd-otlp-source": "datadog", + "dd-otlp-source": "llmobs", }, )