OTEL_HTTP_TRACE_PROTOCOL - UFTP configuration option
Description
The OTEL_HTTP_TRACE_PROTOCOL option specifies a value for the protocol used to export traces from UFTP.
This functionality can also be configured using OpenTelemetry's own environment variables, OTEL_EXPORTER_OTLP_PROTOCOL or OTEL_EXPORTER_OTLP_TRACES_PROTOCOL. However, this configuration option takes precedence over those. If you wish to configure this functionality using OpenTelemetry, then you must leave the OTEL_HTTP_TRACE_PROTOCOL option unspecified.
Usage
Method | Syntax | IBM i | UNIX | Windows | z/OS |
|---|---|---|---|---|---|
Command Line, Long Form | -otel_http_trace_protocol value | ||||
Configuration File Keyword | otel_http_trace_protocol value | ||||
Environment Variable | OTEL_HTTP_TRACE_PROTOCOL=value |
This option is NOT available for Unix on:
- Solaris
Values
protocol is the protocol used to export traces.
Valid values for protocol are:
- http/json - export over HTTP with JSON encoded data
- http/protobuf - export over HTTP with protobuf encoded data
Default is http/protobuf.