The system metrics [1] are only available on a system level, i.e. not for an individual job. The reason is that multiple job might run concurrently on the same task manager JVM process. So it would not be possible to separate their heap usage. The same would be true for the approach that monitors the task manager tmp directory.
You would need to correlate your measurements with the time range in which a job is executed. Best, Fabian [1] https://ci.apache.org/projects/flink/flink-docs-release-1.1/apis/metrics.html#system-metrics 2016-12-16 9:08 GMT+01:00 otherwise777 <wou...@onzichtbaar.net>: > Hey Fabian, > > Thanks for the quick reply, > I was looking through the flink metrics [1] but i couldn't find anything in > there how to analyze the environment from start to finish, only for > functions that extend the richmapfunction > > [1] > https://ci.apache.org/projects/flink/flink-docs- > release-1.1/apis/metrics.html#list-of-all-variables > > > > -- > View this message in context: http://apache-flink-user- > mailing-list-archive.2336050.n4.nabble.com/How-to-analyze- > space-usage-of-Flink-algorithms-tp10555p10661.html > Sent from the Apache Flink User Mailing List archive. mailing list archive > at Nabble.com. >