qxo opened a new pull request #5218:
URL: https://github.com/apache/skywalking/pull/5218


   with this config API, the external plugin can get config without change the 
apm-agent-core Config.java.
   
   then using as below:
   ````
     private static final int CUSTOM_CMP_ID = 
Integer.parseInt(Config.getProperty("ex_plugin_comp_id", "100"));
   ````
   
   Please answer these questions before submitting pull request
   
   - Why submit this pull request?
   - [ ] Bug fix
   - [*] New feature provided
   - [ ] Improve performance
   
   - Related issues
   
   ___
   ### Bug fix
   - Bug description.
   
   - How to fix?
   
   ___
   ### New feature or improvement
   - Describe the details and related test reports.
   添加此通用配置API的目的:
   * 为外部扩展插件提供一种统一的方式来存取配置项
   * 原来的方式添加配置项要修改Config类的方式不适用于外部插件
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to