Replies: 3 comments 2 replies
-
The reason is the following:
I don't know why objects implementing the RunnableFuture interface are excluded for interception. After I comment out the if statement , skywalking can trace the span. |
Beta Was this translation helpful? Give feedback.
-
First of all, this is not a bug. |
Beta Was this translation helpful? Give feedback.
-
"How to deal with RunnableFuture would depend on the Java doc guideline." , sorry, I don't understand it. |
Beta Was this translation helpful? Give feedback.
-
Search before asking
Apache SkyWalking Component
Java Agent (apache/skywalking-java)
What happened
For a traced Java application, skywalking can't trace the span correctly for some cross-thread operations via ThreadPoolExecutor.
What you expected to happen
skywalking should successfully trace the span of the cross-thread operations via ThreadPoolExecutor.
How to reproduce
for example logic like the follows:
ExecutorService executorService = Executors.newCachedThreadPool();
Skylaking can't successfully trace the span.
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions