open-telemetry / open-telemetry/opentelemetry-java-contrib
[aws-xray] Remove OkHttp dependency from aws-xray
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.