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
Thanks for reporting this issue. You're right, we removed the trace field from the log in version 3.4.5 because function framework was unable to retrieve project id from the request. You can sill manually add this field by following the steps outlined in our documentation: https://cloud.google.com/functions/docs/monitoring/logging#writing_structured_logs.
According to the google cloud docs, the trace format needs to be
projects/[PROJECT-ID]/traces/[TRACE-ID]
But currently it's only set to
traceId
https://github.com/GoogleCloudPlatform/functions-framework-nodejs/blob/28b1c300240771720f70a95522ede7ce6a2ccea0/src/logger.ts#L170C6-L170C33
The text was updated successfully, but these errors were encountered: