OTEL_EXPORTER_OTLP_ENDPOINT MUST NOT contain other query string or fragment #4646
Labels
area:metrics
Part of OpenTelemetry Metrics
area:trace
Part of OpenTelemetry tracing
enhancement
New feature or request
pkg:exporter:otlp
Related to the OTLP exporter package
pkg:SDK
Related to an SDK package
Milestone
From: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.25.0/specification/protocol/exporter.md#configuration-options
Currently passing a query string or fragment via
OTEL_EXPORTER_OTLP_ENDPOINT
,OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
does not do any harm.An error could be returned from the OTLP exporter factories in such case, but I have not found any implementation which does it. The specification looks like just a recommendation for the user.
The text was updated successfully, but these errors were encountered: