[Proposal] Add contrib support for cloudevents/sdk-go #4137
alfredosa
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Package Name
contrib/cloudevents
Package Version(s)
2.4.0, latest
Describe the feature you'd like
I would like to propose adding a contrib package for the official CloudEvents Go SDK: https://github.com/cloudevents/sdk-go.
CloudEvents is a very popular framework now to work with events, in an abstracted way. dd-trace-go does not have a native way to propagate context through CloudEvents.
I propose adding contrib/cloudevents/sdk-go.v2 which would provide:
I would be happy to provide do the code, open a pr with proper testing for the contrib 👍
Is your feature request related to a problem?
Yes, this feature doesn't exist and I developed a package that can do this but I think it would benefit everyone using cloudevents
Describe alternatives you've considered
As described above, I created a package that has been working fine, but thought to raise this for the community! It would be nice to polish and make it like the other extensions a bit more robust
Additional context
Here is the rough implementation logic I am proposing (simplified from our internal code):
We also have the:
Beta Was this translation helpful? Give feedback.
All reactions