Skip to content

Commit 162eb37

Browse files
authored
Merge pull request #3971 from WhitWaldo/otel_override_service_name
Added OTEL envvar for service name overriding in traces
2 parents 6d5de8f + 836906d commit 162eb37

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

daprdocs/content/en/operations/configuration/configuration-overview.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,12 @@ set `samplingRate : "0"` in the configuration. The valid range of samplingRate i
8989
The OpenTelemetry (otel) endpoint can also be configured via an environment variables. The presence of the OTEL_EXPORTER_OTLP_ENDPOINT environment variable
9090
turns on tracing for the sidecar.
9191

92-
| Environment Variable | Description |
93-
|----------------------|-------------|
92+
| Environment Variable | Description |
93+
|----------------------|-----------------------------------------------------------------|
9494
| `OTEL_EXPORTER_OTLP_ENDPOINT` | Sets the Open Telemetry (OTEL) server address, turns on tracing |
9595
| `OTEL_EXPORTER_OTLP_INSECURE` | Sets the connection to the endpoint as unencrypted (true/false) |
96-
| `OTEL_EXPORTER_OTLP_PROTOCOL` | Transport protocol (`grpc`, `http/protobuf`, `http/json`) |
96+
| `OTEL_EXPORTER_OTLP_PROTOCOL` | Transport protocol (`grpc`, `http/protobuf`, `http/json`) |
97+
| `OTEL_SERVICE_NAME` | Optional override to specify the service name used in traces |
9798

9899
See [Observability distributed tracing]({{< ref "tracing-overview.md" >}}) for more information.
99100

0 commit comments

Comments
 (0)