[
https://issues.apache.org/jira/browse/FLINK-30246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17647898#comment-17647898
]
Zhu Zhu edited comment on FLINK-30246 at 12/15/22 7:57 AM:
-----------------------------------------------------------
You are right. [~xiasun] Unfortunately, we cannot change the protected fields
of AbstractReporter which is {{@Public}}.
Let's moving this ticket to Flink 2.0.
Thanks for looking into this!
was (Author: zhuzh):
You are right. Unfortunately, we cannot change the protected fields of
AbstractReporter which is {{@Public}}.
Let's moving this ticket to Flink 2.0.
> 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
> Assignee: xingbe
> Priority: Major
> Fix For: 2.0.0
>
>
> 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)