Skip to content

fix(otel): support http/https scheme in OTLP endpoint URL#2504

Merged
dgageot merged 1 commit intodocker:mainfrom
cogvel:fix/otel-endpoint-url
Apr 24, 2026
Merged

fix(otel): support http/https scheme in OTLP endpoint URL#2504
dgageot merged 1 commit intodocker:mainfrom
cogvel:fix/otel-endpoint-url

Conversation

@tdabasinskas
Copy link
Copy Markdown
Contributor

The OTLP exporter now correctly handles endpoints with explicit http:// or https:// schemes by using WithEndpointURL instead of WithEndpoint. This allows the SDK to determine the transport protocol from the scheme as specified in the OTLP/HTTP specification.

Bare host:port endpoints continue to use WithEndpoint with the existing localhost-insecure behavior preserved for backward compatibility.

The OTLP exporter now correctly handles endpoints with explicit http:// or https:// schemes by using WithEndpointURL instead of WithEndpoint. This allows the SDK to determine the transport protocol from the scheme as specified in the OTLP/HTTP specification.

Bare host:port endpoints continue to use WithEndpoint with the existing localhost-insecure behavior preserved for backward compatibility.
@tdabasinskas tdabasinskas requested a review from a team as a code owner April 24, 2026 11:25
@dgageot dgageot merged commit 570ed7d into docker:main Apr 24, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants