-
Notifications
You must be signed in to change notification settings - Fork 656
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
Move usespan out of tracer #1668
Move usespan out of tracer #1668
Conversation
9edc084
to
ee1d970
Compare
ee1d970
to
f921966
Compare
f921966
to
510dbd2
Compare
43d9d85
to
61f067a
Compare
@@ -13,7 +13,7 @@ | |||
# limitations under the License. | |||
from typing import Optional | |||
|
|||
from opentelemetry.context import get_value, set_value | |||
from opentelemetry.context import attach, get_value, set_value |
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.
What's this for?
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.
I think it got added as I first thought of placing the function here but also exporting it from trace module. Not sure why pylint/isort didn't catch this as an unused import. 🤔
Fixed now.
61f067a
to
6983d75
Compare
8e1fd87
to
64b1384
Compare
64b1384
to
5546950
Compare
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #1630
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Does This PR Require a Contrib Repo Change?
Answer the following question based on these examples of changes that would require a Contrib Repo Change:
opentelemetry-api/
oropentelemetry-sdk/
Result of: #1630
Checklist: