Exports spans to an OpenTelemetry collector using the OTLP protocol over gRPC or HTTP. Defaults to gRPC on localhost:4317. Switch to HTTP by setting transport: http (default port 4318, default path /v1/traces). Set secured: true to use HTTPS. Custom request headers can be added for hosted collectors that require authorization.
URL path appended to the collector endpoint. For HTTP transport defaults to /v1/traces when left empty.
-
port
false
-
Port of the OTLP collector. When omitted, defaults to 4317 for gRPC and 4318 for HTTP.
4317
secured
false
false
Whether to use a secure (TLS) connection. When true, the endpoint URL scheme is set to https for HTTP transport and causes the gRPC client to use TLS as well.
HTTP headers sent with every span export request. Only effective when transport is http. Useful for authorization headers required by hosted collectors.