Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log request fields in separate hash #3192

Merged

Conversation

jochenehret
Copy link
Contributor

@jochenehret jochenehret commented Feb 15, 2023

  • A short explanation of the proposed change:

We want to harmonize the cloud controller request logging with the nginx access logs. Some request fields should be logged explicitly with the same names that are used by nginx.

  • An explanation of the use cases your change solves

Facilitates searching cloud controller request logs in logging stacks with Kibana.

  • Links to any other associated PRs

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

@jochenehret jochenehret force-pushed the harmonize_logging_with_nginx branch 5 times, most recently from 917c777 to ab8ec71 Compare February 20, 2023 13:24
* goal is to harmonize the cloud controller logging with the nginx logs
* we want to see the zipkin b3_trace_id and b3_span_id variables in the request logs
@jochenehret jochenehret force-pushed the harmonize_logging_with_nginx branch from ab8ec71 to 1ec7c5f Compare February 20, 2023 14:13
@jochenehret jochenehret marked this pull request as ready for review February 21, 2023 08:03
Copy link
Contributor

@johha johha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@johha johha merged commit 226c83e into cloudfoundry:main Feb 23, 2023
@jochenehret jochenehret deleted the harmonize_logging_with_nginx branch February 23, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants