- 最新
- 投票最多
- 评论最多
You can try a sidercar deploy to collect metrics using the CloudWatch Agent.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/deploy_servicelens_CloudWatch_agent_deploy_ECS.html https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html
Also test the metadata endpoint for usefully information.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v4.html
Hello,
One alternative is use AWS Exec https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html to get a container on the shell and run
top
or a similar command to view memory. Alternatively, you could install a container sidecar with memory metric monitoring capabilities like New Relic.
Feel free to ask a follow-up if the above doesn't make sense!
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 9 个月前
- AWS 官方已更新 3 年前