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

structured logging: Implement request context holder #750

Closed
minherz opened this issue Nov 17, 2021 · 0 comments · Fixed by #752
Closed

structured logging: Implement request context holder #750

minherz opened this issue Nov 17, 2021 · 0 comments · Fixed by #752
Assignees
Labels
api: logging Issues related to the googleapis/java-logging API. lang: java Issues specific to Java. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@minherz
Copy link
Contributor

minherz commented Nov 17, 2021

Add a capability of managing multiple request contexts per-thread. The capability should capture relevant information as com.google.cloud.logging.HttpRequest instance or using a builder that populates the minimal set of fields including:

  • URI (full URL including query parameters)
  • Http method
  • Referrer
  • Sender IP
  • Receiver IP

Parent: #687

@product-auto-label product-auto-label bot added the api: logging Issues related to the googleapis/java-logging API. label Nov 17, 2021
@minherz minherz assigned minherz and unassigned simonz130 Nov 17, 2021
@minherz minherz added lang: java Issues specific to Java. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: logging Issues related to the googleapis/java-logging API. lang: java Issues specific to Java. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
2 participants