Working with Java
There are two ways to instrument your Java application to send traces to X-Ray:
-
AWS Distro for OpenTelemetry Java – An AWS distribution that provides a set of open source libraries for sending correlated metrics and traces to multiple AWS monitoring solutions, including Amazon CloudWatch, AWS X-Ray, and Amazon OpenSearch Service, via the AWS Distro for OpenTelemetry Collector
. -
AWS X-Ray SDK for Java – A set of libraries for generating and sending traces to X-Ray via the X-Ray daemon.
For more information, see Choosing between the AWS Distro for OpenTelemetry and X-Ray SDKs.