Gather interest int HTTP version configuration in OTLP/HTTP senders

Open
#9,061 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
12/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
java

Research direction

This is a discussion to gather use cases, not a defined change. Start with HttpSenderConfig and the OTLP/HTTP JDK sender, then read PR #8985 to see how the cleartext HTTP/1.1 default is handled. Done means a maintainer-agreed direction on whether HTTP version becomes configurable, and only then a scoped change.

Written by the indexing model from the issue text.

Description

Feature Request

The built-in OTLP/HTTP senders do not expose HTTP version configuration. Callers cannot explicitly select HTTP/1.1 or an HTTP/2 preference through exporter configuration or HttpSenderConfig.

PR #8985 proposes using HTTP/1.1 for cleartext endpoints in the JDK sender, aligning it with the OkHttp sender. The HTTP version should arguably be configurable, and thus arguably #8982 (i.e. the root of #8985) should be solved by making HTTP version configurable. But its still useful to align defaults of the sender. This is enough to solve #8982 but we can independently decide whether we want to make HTTP version configurable.

This issue is meant to gather interest / use cases for additional HTTP version configuration, rather than adding it preemptively.

Dominant language
Java
Stars
2.5k
Forks
1.1k
Avg merge
5d 11h
Merged PRs (30d)
41

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from open-telemetry/opentelemetry-java

All issues in open-telemetry/opentelemetry-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.