open-telemetry / open-telemetry/opentelemetry-java-contrib

[aws-xray] Remove OkHttp dependency from aws-xray

Open
#863 1 comment 0 reactions 2 assignees View on GitHub

@wangzlei is already working on this.

Since Sep 17, 2023.

component:aws-xray enhancement
Dominant language
Java
Stars
269
Forks
196
Avg merge
2d 7h
Merged PRs (30d)
38

Description

Is your feature request related to a problem? Please describe.

aws-xray has a dependency on OkHttp because of the XraySamplerClient.
This causes transitive dependency issues with other projects.
As an example, Quarkus for example only supports OkHttp 3.x and including this lib, even if the sampler is not used, will cause native builds to fail.

Describe the solution you'd like

Use another Http Client, probably the JDK http client available since java 11.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.