-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
contrib/cloud.google.com/go/pubsub.v1: split tracing code #2852
Conversation
… separate package
BenchmarksBenchmark execution time: 2024-09-11 15:11:47 Comparing candidate commit ba11596 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 59 metrics, 0 unstable metrics. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adds support for instrumenting `cloud.google.com/go/pubsub` Requires DataDog/dd-trace-go#2852 --------- Co-authored-by: Romain Marcadier <[email protected]>
What does this PR do?
Split tracing logic into a separate package that does not import
cloud.google.com/go/pubsub
so it can be used in orchestrion.Motivation
orchestrion cannot reuse the pubsub contrib package as it is right now because it would case an import cycle. Creating a separate package allows us to reuse this logic.
Reviewer's Checklist
Unsure? Have a question? Request a review!