Qingsheng Ren created FLINK-30246:
-------------------------------------

             Summary: Registering the same metric object with different name 
and group will conflict in metric reporter
                 Key: FLINK-30246
                 URL: https://issues.apache.org/jira/browse/FLINK-30246
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Metrics
    Affects Versions: 1.17.0
            Reporter: Qingsheng Ren


Metrics are organized by maps in AbstractReporter and MetricQueryService, which 
uses metric object as key and metric name as value. This kind of implementation 
is problematic when the same metric object is registered multiple times, either 
with different names or under different metric groups, which will override each 
other and only one metric is kept finally.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to