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: auto-populate empty fields in LogEntry collection on call to Logging.write() interface #691

Closed
minherz opened this issue Sep 27, 2021 · 1 comment · Fixed by #808
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 Sep 27, 2021

Is your feature request related to a problem? Please describe.
Fields in LogEntry structure are used to provide a rich user experience when using Log Explorer and other tools of the Cloud Operations suites. When developer does not explicitly populate the fields the additional functionality like tracing, log correlation and many others aren't available.

Describe the solution you'd like
To improve user experience the additional fields in LogEntry structure should be auto-populated. The fields that should be populated are:

  • resource
  • httpRequest
  • severity
  • trace
  • spanId
  • sourceLocation
  • metadata
@minherz
Copy link
Contributor Author

minherz commented Sep 27, 2021

Related issues #685, #686, #687, #688, #689, #690, #691

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
1 participant