Added environment variable documentation indicating how the service name can be overridden in OTEL traces.

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
This commit is contained in:
Whit Waldo 2024-01-25 20:52:09 -06:00
parent 40f9069102
commit be69dedec3
1 changed files with 4 additions and 3 deletions

View File

@ -90,10 +90,11 @@ The OpenTelemetry (otel) endpoint can also be configured via an environment vari
turns on tracing for the sidecar. 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_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_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. See [Observability distributed tracing]({{< ref "tracing-overview.md" >}}) for more information.