You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Qingsheng Ren (Jira)" <ji...@apache.org> on 2022/11/30 07:52:00 UTC
[jira] [Created] (FLINK-30246) Registering the same metric object with different name and group will conflict in metric reporter
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)