The config looks OK to me. On the Flink side I cannot find an explanation why only some metrics disappear.
The only explanation I could come up with at the moment is that FLINK-8946 is triggered, all metrics are (officially) unregistered, but the reporter isn't removing some metrics (i.e. all job related ones).
Due to FLINK-8946 no new metrics would be registered after the JM restart, but the old metrics continue to be reported.
To verify this I would add logging statements to the notifyOfAddedMetric/notifyOfRemovedMetric methods, to check whether Flink attempts to unregister all metrics or only some.
On 05.06.2018 02:02, Nikolas Davis wrote: