opentelemetry_otlp

Constant OTEL_EXPORTER_OTLP_TRACES_HEADERS

Source
pub const OTEL_EXPORTER_OTLP_TRACES_HEADERS: &str = "OTEL_EXPORTER_OTLP_TRACES_HEADERS";
Available on crate feature trace and (crate features http-proto or http-json or grpc-tonic) only.
Expand description

Key-value pairs to be used as headers associated with gRPC or HTTP requests for sending spans. Example: k1=v1,k2=v2 Note: this is only supported for HTTP.