The detail is, TraceId and SpanId are only respected within the google trace viewer, when LogEntry.Trace and LogEntry.SpanId are set. If they are only in the normal properties, they are stored, but not assigned to the trace itself, so you have manually filter them.
Apply Log Correlation as described here: https://cloud.google.com/trace/docs/trace-log-integration
The detail is, TraceId and SpanId are only respected within the google trace viewer, when
LogEntry.Trace
andLogEntry.SpanId
are set. If they are only in the normal properties, they are stored, but not assigned to the trace itself, so you have manually filter them.