AWS Distro for OpenTelemetry
Results: Check ECS instance metrics in Amazon CloudWatch
Results: Check ECS instance 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 NodeTelemetry-{containerInstanceId}
.
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.