Skip to content

structured logging: auto-populate empty fields in LogEntry collection on call to Logging.write() interface #691

@minherz

Description

@minherz

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

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the googleapis/java-logging API.lang: javaIssues specific to Java.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions