ZhuoSiChen commented on a change in pull request #4117: Keep properties
URL: https://github.com/apache/skywalking/pull/4117#discussion_r361144348
 
 

 ##########
 File path: 
apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/conf/SnifferConfigInitializer.java
 ##########
 @@ -192,4 +192,11 @@ private static InputStreamReader loadConfig() throws 
AgentPackageNotFoundExcepti
         }
         throw new ConfigNotFoundException("Failed to load agent.config.");
     }
+
+    /**
+     * return the properties read from DEFAULT_CONFIG_FILE_NAME
+     */
+    public static Properties getProperties(){
 
 Review comment:
   I just want something like the way skywalking doing in the  
`org.apache.skywalking.apm.agent.core.conf.Config` and used it in anywhere.If I 
can get the properties. it was easy to me.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to