Recently, AWS announced the public preview of the AWS Distro for OpenTelemetry, a secure, production-ready, AWS-supported distribution of the OpenTelemetry project. With the AWS Distro for OpenTelemetry, developers can instrument their applications in one go to send correlated metrics and traces to multiple monitoring solutions ranging from Amazon Cloudwatch to Datadog and Grafana.
Developers can use the AWS Distro for OpenTelemetry to instrument their applications running on Amazon Elastic Compute Cloud (EC2), Amazon Elastic Container Service (ECS), Amazon Elastic Kubernetes Service (EKS), and AWS Fargate, as well as on-premises once with OpenTelemetry components. Subsequently, they can send correlated performance data to AWS monitoring services, including Amazon CloudWatch and AWS X-Ray for monitoring and analysis.
Furthermore, developers can configure and deploy the latest version of the AWS Distro for OpenTelemetry for container services, and EC2 by using AWS CloudFormation templates, AWS Command Line Interface, or by using the Kubectl commands.
The public preview of the AWS Distro for OpenTelemetry consists of several components such as:
- AWS enhanced upstream OpenTelemetry SDKs including a collection of AWS resource-specific metadata elements, including container identifier, EC2 instance identifier, Task, and Pod identifier. Furthermore, there is support for the X-Ray trace format and context, and correlation of ingested trace and metrics data from X-Ray and CloudWatch.
- An OpenTelemetry Collector including AWS-specific exporters such C++ Prometheus exporter to send traces to X-Ray and metrics to CloudWatch. Note that the collector can be launched as a sidecar or daemon set for EKS, a sidecar for ECS, or an agent on EC2.
Alolita Sharma, principal technologist at AWS, and Nizar Tyrewalla, principal product manager at AWS, wrote in an AWS Open Source blog about the AWS Distro for OpenTelemetry:
AWS shares the core values of the upstream OpenTelemetry project, including reducing the costs of software telemetry instrumentation and ensuring the availability of open-source, high-quality technologies that everyone can use.
Also, a respondent on Reddit stated in a thread on the purpose of the AWS Distro for OpenTelemetry:
They (AWS) are consolidating tools, APIs, and mechanisms into a purpose-built distro – similar to Asterisk, Fedora Jam, or Kali. Since multi-purpose bare-metal, VMs, or even containers are no longer necessary, narrow-focused environments make for less waste, fewer patching cycles, and better interaction between components.
Lastly, Developers can learn more about the AWS Distro for OpenTelemetry through the documentation page of the developer portal. Furthermore, developers can download the AWS Distro for OpenTelemetry to try it out.