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