healchow commented on code in PR #5925:
URL: https://github.com/apache/inlong/pull/5925#discussion_r973676457


##########
inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/source/BaseSource.java:
##########
@@ -157,6 +162,14 @@ public synchronized void start() {
       FailoverChannelProcessorHolder.setChannelProcessor(newProcessor);
     }
     super.start();
+    // initial metric item set
+    ConfigManager configManager = ConfigManager.getInstance();
+    String clusterId =
+            configManager.getCommonProperties().getOrDefault(
+                    ConfigConstants.PROXY_CLUSTER_NAME, "DataProxy");

Review Comment:
   ditto.



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@inlong.apache.org

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

Reply via email to