With Dask Distributed performance report we can conveniently log/stream performance metrics to a HTML file:
from dask.distributed import performance_report
with performance_report(filename="dask-report.html"):
# some dask computation
result = dask.compute(*tasks)
The HTML file contains Bokeh visualizations of the different metrics; for example:
However, now I need to combine these metrics with data from another experiment, so I need to access the underlying data that has been used to make these plots. How can we access the logged performance metrics? Or how can we log the streamed performance metrics?