Skip to content

Conversation

xytis
Copy link

@xytis xytis commented Sep 4, 2025

This fix introduces observability dependency, so it may not be suitable for upstream.

However, after a bit of research, I came to a conclusion that unless we provide a way to customise all wrapping handlers in functions-framework-go, there is no other way to allow users to inject traceability on CloudEvent handlers.

Same applies to other non-HTTP handlers.

This fixes #42 and the issue should be known to internal google team.

Copy link

google-cla bot commented Sep 4, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose trace IDs in background and cloud event functions
1 participant