Amazon ECS
User Guide for AWS Fargate (API Version 2014-11-13)

Viewing Amazon ECS Metrics

After you have enabled CloudWatch metrics for Amazon ECS, you can view those metrics in both the Amazon ECS and CloudWatch consoles. The Amazon ECS console provides a 24-hour maximum, minimum, and average view of your service metrics. The CloudWatch console provides a fine-grained and customizable display of your resources, as well as the number of running tasks in a service.

Viewing Service Metrics in the Amazon ECS Console

Amazon ECS service CPU and memory utilization metrics are available in the Amazon ECS console. The view provided for service metrics shows the average, minimum, and maximum values for the previous 24-hour period, with data points available in 5-minute intervals. For more information, see Service Utilization.

To view service metrics in the console

  1. Open the Amazon ECS console at https://console.aws.amazon.com/ecs/.

  2. Select the cluster that contains the service for which to view metrics.

  3. On the Cluster: cluster-name page, choose Services.

  4. Choose the service for which to view metrics.

  5. On the Service: service-name page, choose Metrics.

Viewing Amazon ECS Metrics in the CloudWatch Console

Amazon ECS service metrics can also be viewed in the CloudWatch console. The CloudWatch console provides the most detailed view of Amazon ECS metrics, and you can tailor the views to suit your needs. You can view Service Utilization and the Service RUNNING Task Count. For more information about CloudWatch, see the Amazon CloudWatch User Guide.

To view metrics in the CloudWatch console

  1. Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. In the Metrics section in the left navigation, choose ECS.

  3. Choose the metrics to view. Cluster metrics are scoped as ECS > ClusterName and service utilization metrics are scoped as ECS > ClusterName, ServiceName. The example below shows cluster CPU and memory utilization.

    
                            CloudWatch console metrics view