-
Notifications
You must be signed in to change notification settings - Fork 35
[INSTA-64769] chore: use get_tracer() for all tracer access #822
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
base: main
Are you sure you want to change the base?
Conversation
2b5870f to
408d425
Compare
pvital
left a comment
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.
Just "a few" changes!
@CagriYonca, please, in addition to the change requests, fix this failed condition. |
408d425 to
9598863
Compare
a9cba61 to
2ffdf6b
Compare
GSVarsha
left a comment
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.
The Year 1 is the year IBM copyrighted the file content. If there's a new functionality added in the file (not bug fixes or structural changes), you can add the respective year if you want like the below:
# (c) Copyright IBM Corp. 2021, 2025
But I guess here we are only moving things around so I would suggest not to change.
2ffdf6b to
d8e8c72
Compare
pvital
left a comment
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.
It looks good to me.
But before merging it, take action on @GSVarsha's comments.
d8e8c72 to
9d2f9c8
Compare
Signed-off-by: Cagri Yonca <[email protected]>
Signed-off-by: Cagri Yonca <[email protected]>
…nd with_blinker) instrumentations Signed-off-by: Cagri Yonca <[email protected]>
9d2f9c8 to
bd8a3b5
Compare
|



We should use the get_tracer function to provide the correct use case of the singleton pattern, so we can start by adapting our code to getter and setters. Using singletons with getters and setters may also be helpful in resolving span_queue access management issues that arise from multi-threading with Instana.