Amazon Elastic Container Service
Developer Guide (API Version 2014-11-13)

Viewing Amazon ECS Metrics

After you have enabled CloudWatch metrics for Amazon ECS, you can view those metrics on the Amazon ECS and CloudWatch consoles. The Amazon ECS console provides a 24-hour maximum, minimum, and average view of your cluster and 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 Cluster Metrics on the Amazon ECS Console

Cluster and service metrics are available on the Amazon ECS console. The view provided for cluster 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 about cluster metrics, see Cluster Reservation and Cluster Utilization.

To view cluster metrics on the console

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

  2. Select the cluster that you want to view metrics for.

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

Viewing Service Metrics on the Amazon ECS Console

Amazon ECS service CPU and memory utilization metrics are available on 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 that you want to view metrics for.

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

  4. Choose the service that you want to view metrics for.

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

Viewing Amazon ECS Metrics on the CloudWatch Console

Amazon ECS cluster and service metrics can also be viewed on the CloudWatch console. The console provides the most detailed view of Amazon ECS metrics, and you can tailor the views to suit your needs. You can view Cluster Reservation, Cluster Utilization, Service Utilization, and the Service RUNNING Task Count. For more information, 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 navigation pane, 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 following example shows cluster CPU and memory utilization.

    
                            CloudWatch console metrics view