You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/08/06 05:35:16 UTC

[GitHub] [skywalking] kezhenxu94 commented on a change in pull request #5249: Add Customization Config section for plugin development.

kezhenxu94 commented on a change in pull request #5249:
URL: https://github.com/apache/skywalking/pull/5249#discussion_r466155698



##########
File path: docs/en/guides/Java-Plugin-Development-Guide.md
##########
@@ -375,6 +375,54 @@ public class URLInstrumentation extends ClassEnhancePluginDefine {
 **NOTICE**, doing bootstrap instrumentation should only happen in necessary, but mostly it effect the JRE core(rt.jar),
 and could make very unexpected result or side effect.
 
+### Provide Customization Config for the Plugin
+The config could provide different behaviours based on the configurations. SkyWalking plugin mechanism provides the configuration
+injection and initialization system in the agent core.
+
+Every plugin could declare more or more classes to represent the config by using `@PluginConfig` annotation. The agent core

Review comment:
       ```suggestion
   Every plugin could declare one or more classes to represent the config by using `@PluginConfig` annotation. The agent core
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org