Executor override afterExecute no TraceId #11393
Answered
by
weixiang1862
qq31758581
asked this question in
Q&A
-
|
Beta Was this translation helpful? Give feedback.
Answered by
weixiang1862
Oct 10, 2023
Replies: 1 comment 4 replies
-
|
skywalking log not always has a traceId, it only occurs when you hava a tracing context in current thread. You can check trace at that time. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


No, you can not use it. It is the code in agent, I just want explain you why the log has no trace id.
As far as I konw, the toolkit was designed to trace runnable run method, but not include afterexecute.
You can try create another span by using tracer toolkit and stop it in afterexecute. It may works for your.
toolkit-tracer