Inside a driver process it can be retrieved with `ray.timeline`. When submitting Ray jobs, the ray API has to be called instead.