You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/02/21 08:43:07 UTC

[GitHub] [incubator-inlong] luchunliang commented on a change in pull request #2608: [INLONG-2607][Dataproxy] Metric public capabilities are extracted to common and PulsarSink support prometheus metric report

luchunliang commented on a change in pull request #2608:
URL: https://github.com/apache/incubator-inlong/pull/2608#discussion_r810889952



##########
File path: inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/sink/MetaSink.java
##########
@@ -796,6 +802,14 @@ public void update() {
                 Runtime.getRuntime().availableProcessors() + 1);
     }
 
+    private Map getNewDimension(String otherKey, String value) {
+        Map dimensions = new HashMap<>();

Review comment:
       Sink.process is running in one thread, dimensions can be one object.




-- 
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-unsubscribe@inlong.apache.org

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