Posted On: Nov 23, 2021

Amazon Elastic Container Service (Amazon ECS) now enables customers to quickly get started to monitor and debug their applications with traces and custom metrics using AWS Distro for OpenTelemetry (ADOT). This feature allows Amazon ECS customers to use the console to enable metrics and traces collection, and then export to Amazon CloudWatch, Amazon Managed Service for Prometheus, and AWS X-Ray with just few clicks. This experience simplifies a multi-step manual process of configuring ADOT in task definitions, and enables customers to solve application availability and performance issues.

This new task definition creation experience gives you an option to enable metrics and traces collection, and allows users to export to to X-Ray, Amazon CloudWatch and Amazon Managed Service for Prometheus. If you enable metrics collection feature and export to Amazon Managed Service for Prometheus, ADOT is designed to automatically collect task-level metrics (CPU/Memory/Network/Storage) with Amazon ECS metadata and export them to the selected destination. You can also instrument your application code using ADOT SDKs, that are available in multiple-languages to collect and export traces to AWS X-Ray. ADOT is configured as a sidecar collector in task definitions, giving users the full control to manually edit ADOT configurations to add additional processors, filters, or export to other AWS or partner destinations.

This new experience is available on the Amazon ECS console is available in all commercial AWS regions. To get started, review these resources:

* Getting started blog
* AWS Distro for OpenTelemetry
* New Amazon ECS console
* Create a new task definition using the new console steps