Github user aljoscha commented on the issue:
https://github.com/apache/flink/pull/6292
+1 to merge this now but I think in the long run we should make the metrics
system not rely on metrics objects being unique (or them correctly implementing
`hashCode()`/`equals()`).---
