opentelemetry-js
opentelemetry-js copied to clipboard
Default exporter that supports OTLP/HTTP via HTTP/2
trafficstars
Is your feature request related to a problem? Please describe.
There's currently no exporter that supports OTLP/HTTP via HTTP/2
Describe the solution you'd like
As discussed earlier in, https://github.com/open-telemetry/opentelemetry-js/issues/5615
Describe alternatives you've considered
JavaScript (Node.js) doesn’t auto-switch protocols at runtime — you explicitly choose the protocol via the exporter you use (http or grpc).
If you use @opentelemetry/exporter-trace-otlp-http → you're using HTTP/1.1 by default.
If you use @opentelemetry/exporter-trace-otlp-grpc → you're using HTTP/2 (because gRPC requires HTTP/2).
Additional context
Add any other context or screenshots about the feature request here.