Setup Container Insights on ECS

Enabling Container Insights on ECS clusters is really simple. See the documentation here for details on this -

The PetAdoption application uses a ECS Fargate cluster that already have Container Insights enabled. You can verify this by executing the following command. Make sure you replace the actual cluster name with the cluster-name string

aws ecs describe-clusters --clusters <cluster-name> | jq '.clusters[0].settings'

You should see a result like the one below

    "name": "containerInsights",
    "value": "enabled"