cloudfoundry / cloudfoundry/cloud_controller_ng

Add additional information concerning request runtimes to cc_ng logs/nginx headers ?

Open
#2,626 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

performance unscheduled
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.