Instrumenting your application with Java - Amazon X-Ray
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Instrumenting your application with Java

There are two ways to instrument your Java application to send traces to X-Ray:

For more information, see Choosing between the Amazon Distro for OpenTelemetry and X-Ray SDKs.