google-cloud-logging LogEntry is missing a "spanId" field.

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

@sebright2

Description

I'm writing a LoggingEnhancer for OpenCensus (census-instrumentation/opencensus-java#1212). I noticed that the Stackdriver LogEntry has a "spanId" field in https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry, but the google-cloud-logging LogEntry class does not (LogEntry.java). Should both LogEntry data structures have a "spanId"? If so, I can make a pull request to add the field.

/cc @g-easy

Metadata

Metadata