open-telemetry / open-telemetry/opentelemetry-java-instrumentation

Support for JDK Http client?

Open
#13,446 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.6k
Forks
1.2k
Avg merge
2d 18h
Merged PRs (30d)
228

Description

Hi all,
Support for using the jdk http client in the exporters rather than the okhttp one was introduced in https://github.com/open-telemetry/opentelemetry-java/issues/5351.
As far as I see the agent doesn't support this feature nor it can be configured in an extension.
Are there plans to include it?
Thank you

Contributor guide

Open the contributing guide

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.

Research direction

Start by reviewing upstream issue 5351 and how the Java agent exporters currently select or configure their HTTP client. No file or test is named in this issue. Done means the agent supports using the JDK HttpClient in exporters and provides the requested extension configuration, with suitable coverage for that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.