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
Hi, I'm using Spring Boot 3.0.9 (w/ Micrometer Tracing 1.0.8) and configured to allow trace continued when @Async method or taskExecutor#execute is called.
I noticed ObservationAwareSpanThreadLocalAccessor#spanActions map is get bigger and bigger throughout time. It seems to me that SpanAction is still persisted in the map even if the Thread is already finished.
Also, when I checking the issue that leads to adding spanActions field, I found the below configuration could achieve trace continuity without using ObservationAwareSpanThreadLocalAccessor (at least it seems):
ObservationAwareSpanThreadLocalAccessor should be only attached if you want to use context propagation together with manually created spans. I removed the memory leak - now it should be better.
Hi, I'm using Spring Boot 3.0.9 (w/ Micrometer Tracing 1.0.8) and configured to allow trace continued when
@Async
method ortaskExecutor#execute
is called.I noticed
ObservationAwareSpanThreadLocalAccessor#spanActions
map is get bigger and bigger throughout time. It seems to me thatSpanAction
is still persisted in the map even if theThread
is already finished.My configuration:
I'd like to know if there is additional configuration needs to be set, or is this a memory leak?
The text was updated successfully, but these errors were encountered: