wu-sheng commented on a change in pull request #1584: add the function of the
specified agent config
URL:
https://github.com/apache/incubator-skywalking/pull/1584#discussion_r212676651
##########
File path:
apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/conf/SnifferConfigInitializer.java
##########
@@ -41,12 +41,14 @@
*/
public class SnifferConfigInitializer {
private static final ILog logger =
LogManager.getLogger(SnifferConfigInitializer.class);
- private static String CONFIG_FILE_NAME = "/config/agent.config";
+ private static String SPECIFIED_CONFIG_PATH = "sw.specified_config_path";
Review comment:
Why use `sw.` as prefix? All other settings are using `#ENV_KEY_PREFIX` as
prefix. Could you make this consistent?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services