Skip to content

Commit

Permalink
Added environment variable documentation indicating how the service n…
Browse files Browse the repository at this point in the history
…ame can be overridden in OTEL traces.

Signed-off-by: Whit Waldo <[email protected]>
  • Loading branch information
WhitWaldo committed Feb 17, 2024
1 parent 40f9069 commit be69ded
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit be69ded

Please sign in to comment.