-
Notifications
You must be signed in to change notification settings - Fork 798
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
CONTEXT_*_SPAN_KEY need to be moved to bootstrap and accessed through bridging? #1726
Comments
these are in
👍 |
I think this is needed for a common use case for end users too: adding attributes to the Maybe |
As an additional improvement, we could also set the library |
* Move SERVER and CLIENT span context keys out of BaseTracer Inspired by #1726 (comment) * Rename context keys Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com> Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
If I'm not mistaken, these keys will not function correctly when using both the agent and library instrumentation together since the key will be shaded in one and not compatible. I think these need to be moved to a location in the bootstrap classloader, with methods to get / set these. The opentelemetry-api instrumentation will need to also instrument these methods to perform bridging for these operations in the app classloader since they accept a
Span
.The text was updated successfully, but these errors were encountered: