structured logging: add trace info discovery from Http request info #688
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.
Is your feature request related to a problem? Please describe.
If not defined, the trace and spanId fields in LogEntry should be auto-populated when writing log entries to backend
Describe the solution you'd like
When Http request info is available and it has the
X-Cloud-Trace-Context
header, the tracing info should be retrieved (following the format) and populated.The text was updated successfully, but these errors were encountered: