You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "xingbe (Jira)" <ji...@apache.org> on 2022/12/08 04:02:00 UTC

[jira] [Commented] (FLINK-30246) Registering the same metric object with different name and group will conflict in metric reporter

    [ https://issues.apache.org/jira/browse/FLINK-30246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644592#comment-17644592 ] 

xingbe commented on FLINK-30246:
--------------------------------

Hi, I would like to work on this issue, could you assign this ticket to me?

> 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
>            Priority: Major
>
> 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)