Skip to content

sdk: map OTEL_EXPORTER_OTLP_PROTOCOL=http/json to the otlp_json_http exporter - #5982

Open
WendeelMarinho wants to merge 1 commit into
open-telemetry:mainfrom
WendeelMarinho:sdk/otlp-http-json-protocol
Open

WendeelMarinho wants to merge 1 commit into
open-telemetry:mainfrom
WendeelMarinho:sdk/otlp-http-json-protocol

Conversation

@WendeelMarinho

Copy link
Copy Markdown

Description

Adds http/json to _EXPORTER_BY_OTLP_PROTOCOL, so OTEL_EXPORTER_OTLP_PROTOCOL=http/json (or the per-signal variants) picks the otlp_json_http exporter instead of raising Unsupported OTLP protocol. Covered by a new TestExporterNames case, including a per-signal override.

Fixes #5981

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I am a human and not a bot
  • I have run tox -e precommit
  • I have run tox -e typecheck
  • I have run the relevant tests and linting tox environments

@WendeelMarinho
WendeelMarinho requested a review from a team as a code owner November 28, 2026 15:21
@WendeelMarinho
WendeelMarinho force-pushed the sdk/otlp-http-json-protocol branch from d75b2db to 6d63d3c Compare November 28, 2026 15:21
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Waiting on maintainers · refreshed 2026-11-28 21:37 UTC

Merge when ready.

Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Should this be with the author? Comment /dashboard route:author to route it back.
  • Anything wrong — including the routing? Report it with what you expected; it helps us improve the dashboard.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Approved PRs

Development

Successfully merging this pull request may close these issues.

Autoconfiguration rejects OTEL_EXPORTER_OTLP_PROTOCOL=http/json

2 participants