AWS Distro for OpenTelemetry
Results: Check ECS Container metrics in Amazon CloudWatch
Results: Check ECS Container metrics in Amazon CloudWatch
In this section, we will check the metrics in Amazon CloudWatch collected using AWS ECS Container metrics receiver.
- Check CloudWatch Logs
Let’s go to CloudWatch console and select Log groups from the left side navigation. Search for our log group
name /aws/ecs/containerinsights/{ClusterName}/performance
and then click the log stream name which is your task_id
.
We should see our expected (following) metrics. These logs use the CloudWatch Embedded Metric
Format (EMF)
to generate CloudWatch Metrics. Following is an example for received logs in the CloudWatch console.
- Check CloudWatch metrics
In the CloudWatch Console, from the left side panel, select Metrics. You should be able to see ECS/ContainerInsights namespace. Click it and you will see the expected metrics.