View a markdown version of this page

Amazon ECS - Amazon CloudWatch
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon ECS

You can use one or more of the following options to collect metrics from Amazon ECS clusters:

  • Use the Amazon Web Services Management Console or the Amazon CLI to turn on Container Insights. It collects cluster-level, task-level, and service-level metrics.

  • Run the OpenTelemetry Collector as a sidecar in your tasks. It collects task-level and container-level metrics and sends them to CloudWatch over OTLP, where you query them with PromQL.

  • Deploy the CloudWatch agent as a daemon service. It collects instance-level metrics on clusters that run on Amazon EC2 instances.