healchow commented on code in PR #5925: URL: https://github.com/apache/inlong/pull/5925#discussion_r973676424
########## inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/sink/PulsarSink.java: ########## @@ -326,8 +319,12 @@ public void start() { sinkThreadPool[i].setName(getName() + "_pulsar_sink_sender-" + i); sinkThreadPool[i].start(); } - - this.metricItemSet = new DataProxyMetricItemSet(this.getName()); + // register metricItemSet + 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