opentelemetry-java-contrib icon indicating copy to clipboard operation
opentelemetry-java-contrib copied to clipboard

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

Open brunobat opened this issue 2 years ago • 1 comments

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.

brunobat avatar May 08 '23 15:05 brunobat

linking related: https://github.com/open-telemetry/opentelemetry-java/issues/5351

trask avatar May 08 '23 16:05 trask