aws / aws/containers-roadmap

[ECS] [request] How to see the detail health check output if aws console shows `failed container health checks`

Open
#1,553 6 comments 8 reactions 0 assignees View on GitHub
ECS Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Summary

I'm using aws ecs service, and once the service health check failed, I **ONLY see `failed container health checks` in the console, and no detail log found**

### Description

Aws console only shows `failed container health checks`, we need detail output. I found the [code](https://github.com/aws/amazon-ecs-agent/blob/89e9cb0/agent/api/container/container.go#L779) did have output field, could we find the detail output from the console, or by api?

### Expected Behavior
Could check the detail health check failed log, e.g. `curl 127.0.0.1:80 connection refused ...`, rather than an line of `failed container health checks`. Due to lack of information, people doesn't know how to fix that issue...

### Observed Behavior
Only show `failed container health checks` in aws console.

### Environment Details

### Supporting Log Snippets

Contributor guide

Open the contributing guide

Research direction

Start with the linked agent/api/container/container.go location and compare its health-check output field with what the AWS console and API expose. The issue names no tests or implementation entry point beyond that file; completion would require establishing a supported way to retrieve and display detailed failure output instead of only the generic message.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.