Posted On: Nov 23, 2021

HAQM Elastic Container Service (HAQM 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 HAQM ECS customers to use the console to enable metrics and traces collection, and then export to HAQM CloudWatch, HAQM 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, HAQM CloudWatch and HAQM Managed Service for Prometheus. If you enable metrics collection feature and export to HAQM Managed Service for Prometheus, ADOT is designed to automatically collect task-level metrics (CPU/Memory/Network/Storage) with HAQM 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 HAQM ECS console is available in all commercial AWS regions. To get started, review these resources:

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