[Bug] Trace data lose #12476
-
Search before asking
Apache SkyWalking ComponentOAP server (apache/skywalking) What happenedWhen I was monitoring my springboot project using Skywalking 9.7.0, I found that in some cases: calling an annotated @ Asynchronous method, some tasks are submitted to the thread pool in this method, and the thread pool will make HTTP requests, but I did not see these http request trace data in the SpringAsync view of the Skywalking UI What you expected to happenI'm not sure if it's a problem with the OAP collection or if the agent hasn't reported it, but this situation can be easily reproduced. How to reproduceI provide the following pseudocode:
I am certain that an HTTP request was made in messageTasksExecuter, but I did not see it in SpringAsynchronous in the Skywalking UI view Anything elseI used Alibaba's trace to detect my project before, and he used OpenTelemetery-JavaAgent. jar for data reporting without any loss. Are you willing to submit a pull request to fix on your own?
Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Every time, when you run into the async the scenario, you need to check whether there is a suitable plugin. |
Beta Was this translation helpful? Give feedback.
I don't care how otel says. It's not our concern or conclusions.
Across thread scenario is always complex. We are confident there is no perfect solution. This plugin only fits for some cases.