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 Risposta
1
Risposta accettata

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
con risposta un anno fa
profile pictureAWS
ESPERTO
kentrad
verificato un anno fa
  • Awesome link you provided. Thank you very much. Finally, is there a way to convert the total execution time into a Metric?

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande