From be69dedec3f1aae624820f683e6c2645e7d3a17c Mon Sep 17 00:00:00 2001 From: Whit Waldo Date: Thu, 25 Jan 2024 20:52:09 -0600 Subject: [PATCH] Added environment variable documentation indicating how the service name can be overridden in OTEL traces. Signed-off-by: Whit Waldo --- .../en/operations/configuration/configuration-overview.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/daprdocs/content/en/operations/configuration/configuration-overview.md b/daprdocs/content/en/operations/configuration/configuration-overview.md index f900beed05c..8732e3f998b 100644 --- a/daprdocs/content/en/operations/configuration/configuration-overview.md +++ b/daprdocs/content/en/operations/configuration/configuration-overview.md @@ -89,11 +89,12 @@ set `samplingRate : "0"` in the configuration. The valid range of samplingRate i The OpenTelemetry (otel) endpoint can also be configured via an environment variables. The presence of the OTEL_EXPORTER_OTLP_ENDPOINT environment variable turns on tracing for the sidecar. -| Environment Variable | Description | -|----------------------|-------------| +| Environment Variable | Description | +|----------------------|-----------------------------------------------------------------| | `OTEL_EXPORTER_OTLP_ENDPOINT` | Sets the Open Telemetry (OTEL) server address, turns on tracing | | `OTEL_EXPORTER_OTLP_INSECURE` | Sets the connection to the endpoint as unencrypted (true/false) | -| `OTEL_EXPORTER_OTLP_PROTOCOL` | Transport protocol (`grpc`, `http/protobuf`, `http/json`) | +| `OTEL_EXPORTER_OTLP_PROTOCOL` | Transport protocol (`grpc`, `http/protobuf`, `http/json`) | +| `OTEL_SERVICE_NAME` | Optional override to specify the service name used in traces | See [Observability distributed tracing]({{< ref "tracing-overview.md" >}}) for more information.