When I wrote the blog, I find another thing I missed.

When I use the RunnableWrapper in the maven artifact 
org.apache.skywalking:apm-toolkit-trace to wrap the Runnable param in 
ThreadPoolExecutor#execute method. The RunnableWrapper is not instrumented 
because the 
org.apache.skywalking.apm.agent.core.plugin.match.ProtectiveShieldMatcher#matches
 return false. If there is some log, it will save me a lot time. The pr is 
https://github.com/apache/skywalking/pull/6330/files

Reply via email to