cloudfoundry / cloudfoundry/cloud_controller_ng
Add additional information concerning request runtimes to cc_ng logs/nginx headers ?
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 207
- Forks
- 373
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 56
Description
Issue
Currently CC_NG logs or adds a header how long each request took server side. It would be highly interesting to know, how much of that time was spend in actual ruby world and how much was db wait. For that a request would need to sum up all db query times and add this information into a seperate header or in the log ?
Maybe a more generic solution to such insights is to use a proper APM software like new Relic. But maybe it makes also sense to others to have this kind of information in the logs anyway ?
Contributor 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.
Research direction
The issue does not name files, tests, or entry points. Start by locating the CC_NG request-runtime logging or nginx-header code and the database query timing instrumentation; define the desired separation of Ruby time and database wait time, then verify the values in logs or response headers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- backend, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100