Provides metrics collected for a submitted job.
The collected metrics can be analysed at different levels of granularity:
- Global (all Spark jobs triggered by client job)
- Spark job
Only successful, non-speculative tasks are considered. Metrics are updated as tasks finish,
so snapshots can be retrieved before the whole job completes.