You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We've observed some ThreadLocal leaks due to the unclosed scope or close attempts in wrong order.
It makes really hard to figure out the cause when it works with opentelemetry java instrumentation because it's working as a shaded dependency and the log message level if FINE.
It's hard to implement a custom context storage when it comes with java instrumentation.
Describe the solution you'd like
I hope that it can be log the wrong attempts of closing the scope as ERROR or WARN level at least.
Is your feature request related to a problem? Please describe.
We've observed some ThreadLocal leaks due to the unclosed scope or close attempts in wrong order.
It makes really hard to figure out the cause when it works with opentelemetry java instrumentation because it's working as a shaded dependency and the log message level if FINE.
It's hard to implement a custom context storage when it comes with java instrumentation.
Describe the solution you'd like
I hope that it can be log the wrong attempts of closing the scope as ERROR or WARN level at least.
opentelemetry-java/context/src/main/java/io/opentelemetry/context/ThreadLocalContextStorage.java
Line 53 in ddc9c91
Describe alternatives you've considered
N?A
Additional context
N/A
The text was updated successfully, but these errors were encountered: