You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The X-Cloud-Trace-Context header is included in requests, but as we don't expose headers to the event-style functions it is inaccessible. This value is the only means of grouping StackDriver logs by request, and so we should expose it to the user function code.
Background events: The trace ID should be available in the context parameter.
Have any progress been made on this issue?
Our ability to correlate logs between cloud functions and our other services are severely impaired due to this header not being exposed to us.
The
X-Cloud-Trace-Context
header is included in requests, but as we don't expose headers to the event-style functions it is inaccessible. This value is the only means of grouping StackDriver logs by request, and so we should expose it to the user function code.Background events: The trace ID should be available in the
context
parameter.CloudEvents: The trace ID should be encoded as an extension on the event, leveraging the
traceparent
extension field as described in https://github.com/cloudevents/spec/blob/master/extensions/distributed-tracing.md.The text was updated successfully, but these errors were encountered: