-
I have developed my own Skywalking plugin and I want to read agent configuration in interceptor. What should I do I tried writing two Java classes,
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
If yoi wrote plugins, you need to get clear head of classloader by yourself. |
Beta Was this translation helpful? Give feedback.
-
I found an article on the official website that mentioned this problem. It seems that calling BootService in Interceptor is not supported |
Beta Was this translation helpful? Give feedback.
That is common and typical issue. You should not create and use service in the plugin, which has to be injected per its classloader.
If you need to coordinate crosss classloader, either enject the shared class into parent classloader and share it, or use basic and JVM included class type.