Replies: 3 comments
-
Try the latest Java agent. And gateway is really a complex case, and you could use it in many custom ways. You could debug agent and plugins by yourself, but there is no easy answer about what happened. |
Beta Was this translation helpful? Give feedback.
-
I have the same question,and now it bothers me very much. |
Beta Was this translation helpful? Give feedback.
-
I found the cause of this issue, but I couldn't find the root cause, and I'm guessing it's caused by different agents handling asynchrony. this problem is caused in wechat login method, in this method, it use |
Beta Was this translation helpful? Give feedback.
-
Search before asking
Apache SkyWalking Component
Java Agent (apache/skywalking-java)
What happened
There are many duplicated traceid in PROD log, but it can't reproduce in other environment.
[spring cloud2021.0.4, java agent 8.9]
the request service trace is gateway -> service A -> service B
What you expected to happen
the service A error log looks like this:
[TID:1] [Thread:A] request 1 (ps: sw8 traceid is other)
[TID:1] [Thread:A] request 2 (ps: sw8 traceid is other)
[TID:2] [Thread:B] request 3 (ps: sw8 traceid is other)
[TID:2] [Thread:B] request 4 (ps: sw8 traceid is other)
[TID:1] [Thread:A] request 5 (ps: sw8 traceid is other)
I tried using arthas to check param of the method,
org.apache.skywalking.apm.agent.core.context.TracingContext.createEntrySpan
,the request is created in 2024-10-25, but the context is created in 2024-10-24, it seems like conext leak, but I can't reproduce in my computer.
additionally, I find activeSpanStack entry url is not request url, but I can't explain it , can you help me analyze what causes this problem?
it's log:
the segment spans contains a lot of request that current request won't invoke, like this:
How to reproduce
sorry, I can't reproduce in my computer or dev environment.
Anything else
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions