mxm commented on code in PR #24564: URL: https://github.com/apache/flink/pull/24564#discussion_r1541043451
########## flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/legacy/metrics/MetricStore.java: ########## @@ -538,19 +556,19 @@ public TaskMetricStore getTaskMetricStore(String taskID) { @ThreadSafe public static class TaskMetricStore extends ComponentMetricStore { private final Map<Integer, SubtaskMetricStore> subtasks; - private final Map<String, ComponentMetricStore> jmOperators; + private final ComponentMetricStore jmOperator; Review Comment: After reading the rest of the code, this seems to be the case. Retrieving all the coordinator metrics at once for a task seems reasonable. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org