We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Prior to 0.18.1 I had used Context.current.span to access the current span and add attributes to it in my code.
Context.current.span
This approach has been deprecated in recent versions, but the deprecation notes don't suggest or point to what to use instead.
I'm struggling to find documentation to tell me what the recommended way to do this is now. Any pointers? 🙏🏼
The text was updated successfully, but these errors were encountered:
Note also this is the recommend way of calling it in the latest readme.md file, but that way is now deprecated.
"To avoid needing to pass spans around as arguments to other functions, you can get the current span with Context.current.span."
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Prior to 0.18.1 I had used
Context.current.span
to access the current span and add attributes to it in my code.This approach has been deprecated in recent versions, but the deprecation notes don't suggest or point to what to use instead.
I'm struggling to find documentation to tell me what the recommended way to do this is now. Any pointers? 🙏🏼
The text was updated successfully, but these errors were encountered: