opentelemetry_otlp

Constant OTEL_EXPORTER_OTLP_LOGS_HEADERS

Source
pub const OTEL_EXPORTER_OTLP_LOGS_HEADERS: &str = "OTEL_EXPORTER_OTLP_LOGS_HEADERS";
Available on crate feature logs 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 logs. Example: k1=v1,k2=v2 Note: this is only supported for HTTP.