liangyepianzhou commented on code in PR #5239:
URL: https://github.com/apache/inlong/pull/5239#discussion_r931757571
##########
inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/sink/pulsarzone/PulsarZoneSinkContext.java:
##########
@@ -192,7 +192,7 @@ public void addSendMetric(DispatchProfile currentRecord,
String bid) {
*/
public void addSendFailMetric() {
Map<String, String> dimensions = new HashMap<>();
- dimensions.put(DataProxyMetricItem.KEY_CLUSTER_ID,
this.getProxyClusterId());
+ dimensions.put(DataProxyMetricItem.KEY_CLUSTER_ID,
this.getClusterId());
Review Comment:
There are a lot of variables that can be unified. It might be a little weird
to optimize this one alone.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]