Github user zentol commented on the issue:
https://github.com/apache/flink/pull/6211
@lamber-ken If you are referring to the added test, it covers the case of 2
jobs (`TaskManager>>Job<<MetricGroup`) in the same registry, not TaskManagers.
There will usually not be multiple TaskManagers registered in a single
registry, but this issue applies in general to any subset of metrics with the
same logical scope.---
