Menu
Amazon EC2 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 in both 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, while 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 in the Amazon ECS Console

Cluster and service metrics are available in 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 in the console

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

  2. Choose the cluster to view metrics with.

  3. On the Cluster: cluster-name page, choose the Metrics tab to view cluster metrics.

Viewing Service Metrics in the Amazon ECS Console

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 about service utilization metrics, see Service Utilization.

To view service metrics in the console

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

  2. Choose the cluster that contains the service to view metrics with.

  3. On the Cluster: cluster-name page, choose the Services tab to view the services in that cluster.

  4. Choose the service to view metrics with.

  5. On the Service: service-name page, choose the Metrics tab to view service metrics.

Viewing Amazon ECS Metrics in the CloudWatch Console

Amazon ECS cluster and 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 Cluster Reservation, Cluster Utilization, 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