code: def export_timeline():
      timestr = datetime.datetime.now().strftime("%Y-%m-%d_%H-%M-%S")
      filename = f"/tmp/ray-timeline-{timestr}.json"
      ray.timeline(filename=filename)
      logging.info(f"Exported Ray timeline to {filename}")
  
file_path: ray/python/ray/experimental/raysort/tracing_utils.py
imports: import datetime
  import functools
  import logging
  import time
  from typing import List, Tuple
  import ray
  from ray.experimental.raysort import constants, logging_utils
  from ray.util.metrics import Gauge, Histogram
label_desc: Use image node_id 4 for calling a global function with example usage: export_timeline() without return types