-
Notifications
You must be signed in to change notification settings - Fork 596
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
Avoid getting a new Tracer for every RPC #2835
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2835 +/- ##
=====================================
Coverage 69.4% 69.4%
=====================================
Files 145 145
Lines 6712 6712
=====================================
Hits 4660 4660
Misses 1938 1938
Partials 114 114
|
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.
Please add a changelog entry. While this should be transparent to users, it could have impact (hopefully just positive performance impact) and they should be made aware.
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.
👍🏽
f258c1c
to
01bd3e7
Compare
Signed-off-by: Bogdan Drutu <[email protected]>
01bd3e7
to
c8a5eda
Compare
@open-telemetry/go-approvers I believe you should do this optimization for all your instrumentations, since it does not make any sense to retrieve a new Tracer (with same arguments) every request.