CloudWatch Container Insights is a fully managed service that collects, aggregates, and summarizes Amazon ECS metrics and logs. The CloudWatch Container Insights dashboard gives you access to the following information:
To enable container insights, execute the following script
# Define variables #
CLUSTER_NAME=$(jq < cfn-output.json -r '.EcsClusterName');
# Update ecs cluster settings #
aws ecs update-cluster-settings \
--cluster $CLUSTER_NAME \
--settings name=containerInsights,value=enabled
Read and follow the instructions provided at Introducing Container Insights for Amazon ECS to access metrics collected by CloudWatch Container Insights.