JDK native threads cannot join link #10385
Unanswered
HTFX-Cloud
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Considering both ways, you will not find this kind of thing in SkyWalking. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
-Currently Spring's @async, @TraceCrossThread, and RunnableWrapper are all supported for asynchronization, but the code needs to be revamped. There are a large number of native Thread.start writings in the code, as follows
Thread thread = new Thread(() -> {
RestTemplate restTemplate = new RestTemplate();
String body = restTemplate.getForEntity (Request Address, String.class). getBody();
};
Thread.start();
The logic of this notation cannot be joined to the link at this time
-Add apm-jdk-threading-plugin plugin application and SW_in environment variable PLUGIN_ JDKTHREADING_ THREADING_ CLASS_ PREFIXES specifies java.lang.Thread but native threading still cannot be added (currently the plug-in source code has enhancements to java.lang.runnable)
-For apm-jdk-threading-plugin plugins, required SW_ PLUGIN_ JDKTHREADING_ THREADING_ CLASS_ How PREFIXES is used (granularity of package names, what packages can and cannot be added, etc.)
Beta Was this translation helpful? Give feedback.
All reactions