Is there a way to get the total execution time of an ECS task?

0

Hi, I need to get the execution time of an ECS task. With CloudTrail, I'm able to get the start time of the task but can't find any tag with stop/finish execution timestamp information. How can I achieve that? Thank you very much.

1 Resposta
1
Resposta aceita

Recent tasks are visible on the ECS Tasks List. You will need to filter on Desired Status=Stopped. For historical task information, you can use the CloudWatch Container Insights. Please see here for a step by step guide.

profile pictureAWS
respondido há um ano
profile pictureAWS
ESPECIALISTA
kentrad
avaliado há um ano
  • Awesome link you provided. Thank you very much. Finally, is there a way to convert the total execution time into a Metric?

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