aws / containers-roadmap

This is the public roadmap for AWS container services (ECS, ECR, Fargate, and EKS).
https://aws.amazon.com/about-aws/whats-new/containers/
Other
5.2k stars 316 forks source link

[ecs-fargate] [request]: improved/detailed task event log #1314

Open dekimsey opened 3 years ago

dekimsey commented 3 years ago

Community Note

Tell us about your request Improve the task-specific event logging information. (Information from the ECS daemon itself about it's actions, not related to container logging.) I would love to see logged information about task-specific actions the daemon is performing at a high-level.

Which service(s) is this request for? ECS and in particular Fargate

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? Debugging multiple-container start-up is very tricky right now. ECS Fargate will:

These are just the items that have occurred to me in the last few minutes. I'd be comfortable stating debugging ECS Fargate containers in general is currently quite difficult. Especially after the fact (since there is no information saved, nor is any of it timestamped if it is available).

Generally speaking the, inability to see even a high-level event log of what the daemon was doing and when for a given task is a large hindrance to debugging start-up issues. In the past, I've reached out to support which can take days, and their response is usually did you try running the task in ECS EC2? Which isn't very helpful as they aren't the same service and behave differently.

Are you currently working around this issue? Trial and error, and a great deal of patience.

Additional context None

Attachments None

tabacco commented 2 years ago

The health check issues noted above are a real shortcoming. Even just including which container caused the failure in the ECS event history would be incredibly helpful.

rgoltz commented 2 months ago

Linking the question-issue from AWS-team here: https://github.com/aws/containers-roadmap/issues/2366 (Stopped task error message enhancements input requested)