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개 답변
1
수락된 답변

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
답변함 일 년 전
profile pictureAWS
전문가
kentrad
검토됨 일 년 전
  • Awesome link you provided. Thank you very much. Finally, is there a way to convert the total execution time into a Metric?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠