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 2018/12/04 14:49:30 UTC

[GitHub] wu-sheng commented on a change in pull request #1929: Agent metadata clear to trigger re-register action for avoid restart agent when backend server metadata was mistakenly deleted

wu-sheng commented on a change in pull request #1929: Agent metadata clear to trigger re-register action for avoid restart agent when backend server metadata was mistakenly deleted
URL: https://github.com/apache/incubator-skywalking/pull/1929#discussion_r238691169
 
 

 ##########
 File path: apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/conf/Config.java
 ##########
 @@ -71,6 +71,21 @@
          */
         public static boolean IS_OPEN_DEBUGGING_CLASS = false;
 
+        /**
+         * Specify register.status dir ,This is an option, the default is AGENT_HOME/option/reset.status.
+         */
+        public static String REGISTER_STATUS_DIR = "skywalking-agent/option";
+
+        /**
+         * Specify instance_uuid to ensure that the whole show is unique, for example: applicationName_ip_12
+         */
+        public static String INSTANCE_UUID = "";
 
 Review comment:
   I haven't found any place using this `INSTANCE_UUID`. I remember the design doc said, it should replace `ServiceAndEndpointRegisterClient#PROCESS_UUID` if this field is not empty.

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


With regards,
Apache Git Services