1 Answer
- Newest
- Most votes
- Most comments
0
I haven't tested by myself buy maybe docker stats provide the information that you need
https://docs.docker.com/engine/reference/commandline/stats/
I think that you can get this information using the metadata endpoint...
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v4.html
Try
${ECS_CONTAINER_METADATA_URI_V4}/stats
${ECS_CONTAINER_METADATA_URI_V4}/task/stats
answered a year ago
Thank you so much, I used sider car to monitoring disk usage ECS fargate Cluster https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/deploy_servicelens_CloudWatch_agent_deploy_ECS.html
Note: [Store the agent configuration in SSM Parameter Store] Is congigure you want monitoring ECS Docuement: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html
Relevant content
- asked 5 months ago
- asked 2 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
Have you explored using sidecar (with CloudWatch agent) to source the disk usage data
Thank you, I don't know the sidecar, can you be more specific?