[Monitoring Disk use on ECS Container Type Fargate]

0

Hi everyone, I am using ECS Fargate to build web application. I'm currently looking to monitor a container's disk usage? I've enabled the Insight container, but I don't see disk usage metrics Can you help me on this issue?

  • 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?

1 Resposta
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
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas