-2

I am using Spring Webclient for my microservices for external calls. I am trying to Integrate AWS XRay in our microservices. But to get the traces of Outgoing HTTP calls in xray, I have to use XRay HttpClientBuilder. Is there any way i can integrate XRAY HttpClientBuilder with webclient?

Manav
  • 1
  • 2

1 Answers1

0

XRay java SDK currently only supports downstream HTTP Requests with Apache clients. Alternatively, you can checkout the AWS Distro for OpenTelemetry Java agent (docs), which is a ready-to-use OpenTelemetry auto-instrumentation agent that's compatible with the X-Ray backend and supports Spring WebClient.

Lei Wang
  • 217
  • 1
  • 4