Posted On: Aug 11, 2023

Amazon CloudWatch, the native monitoring and observability service provided by AWS, has added CloudWatch Agent support for the collection of AWS X-Ray and OpenTelemetry traces. Whether you’re already an X-Ray customer, or just getting started with OpenTelemetry, you are now able to collect metrics, logs, and traces with a single agent, simplifying installation, configuration and management of telemetry collection.

With today’s launch, you can now configure CloudWatch Agent to collect traces from both AWS X-Ray and OpenTelemetry instrumentation SDK and send them to AWS X-Ray, without needing to run a separate trace collection daemon. OpenTelemetry SDK allow developers to instrument their applications once using a portable and interoperable protocol for sending correlated metrics and traces to monitoring services such as CloudWatch and X-Ray. X-Ray distributed tracing system helps to provide a complete view of requests as they travel through your application including other supported AWS Services

Amazon CloudWatch, Amazon CloudWatch Agent, and AWS X-Ray are available in all AWS Regions, including the AWS GovCloud (US) Regions. 

To get started, see the Amazon CloudWatch Agent user guide, AWS X-Ray user guide, and AWS Distro for OpenTelemetry Getting Started guide. Amazon CloudWatch Agent and AWS Distro for OpenTelemetry are available at no cost. For information on Amazon CloudWatch and AWS X-Ray pricing, see the CloudWatch and X-Ray pricing pages.