More data in logs
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- go, kubernetes
- Domain
- devops, observability
Research direction
Trace the logging around HTTP readiness checks, request creation, response status handling, and the warmup phase described in the issue. Compare the current output with the examples and make the relevant connection, URL, request, and response details visible; done means configuration and Kubernetes debugging provide that context without relying on a black box.
Written by the indexing model from the issue text.
Description
It would simplify debuging kubernetes cluster problems / mittens configuration parameter errors when additional data regarding what is going on, at least where it's connecting to and url that is getting fetched / or has problems would be logged.
Current output log
2021/11/29 01:34:45 Wrote file: alive
2021/11/29 01:34:45 []
2021/11/29 01:34:45 Waiting for http target to be ready for a max of 60s
2021/11/29 01:34:46 HTTP target not ready yet...
2021/11/29 01:34:47 HTTP target not ready yet...
2021/11/29 01:34:48 HTTP target not ready yet...
Rational
It's hard to debug configuration (we were working on READY check) when you work with a black box
When log has more data, debugging the problems and finding a solution is much easier.
2021/11/29 01:34:45 Writing file: alive
2021/11/29 01:34:45 Wrote file: alive
2021/11/29 01:34:45 []
2021/11/29 01:34:45 creating httpclient to host: http://apidsp2.xyz.com:80
2021/11/29 01:34:45 Waiting for http target to be ready for a max of 60s
2021/11/29 01:34:46 creating request: http://apidsp2.xyz.com:80/health.aspx
2021/11/29 01:34:46 status code: 404
2021/11/29 01:34:46 HTTP target not ready yet...
2021/11/29 01:34:47 creating request: http://apidsp2.xyz.com:80/health.aspx
2021/11/29 01:34:47 status code: 404
2021/11/29 01:34:47 HTTP target not ready yet...
or output like from the warmup phase:
021/11/29 16:07:00 🔴 http response 89 ms 404 POST /process.aspx
2021/11/29 16:07:00 🔴 http response 300 ms 404 POST /process.aspx
2021/11/29 16:07:00 🔴 http response 279 ms 404 POST /process.aspx
- Dominant language
- Go
- Stars
- 66
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ExpediaGroup/mittens
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 20/100
ExpediaGroup/mittens#397 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 42/100
ExpediaGroup/mittens#371 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
ExpediaGroup/mittens#360 ·
-
Log output configuration optionsMay be free again A pull request for this issue was closed without being merged. Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ExpediaGroup/mittens#309 ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ExpediaGroup/mittens#256 ·
All issues in ExpediaGroup/mittens
Similar issues
-
mcpx scan: flag unsafe tool namesPossibly taken @zeyadbadawyy claimed this today. Openarea/scan enhancement good first issue priority/medium size/small
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
rohitgollarahalli/mcpx#45 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Mend: dependency security vulnerability
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Windows 主机
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Lee-xeo/Claude-Cage#1550 ·
Maintainers usually reply within 1 day