Dask - any way to limit the content in dask scheduler dashboard?

Hi,
I am using distributed version 2021.10.0.

I notice that the default content in the dashboard header is pretty extensive and in some cases takes up too much space. Is there any way to limit the items in the header or set expand to False or similar? Earlier versions 2021.6.0 did have less info in the dashboard. The difference in headers is indicated by the blue square in the image below and seems to have been changed between these two mentioned versions.
Also to see see the dashboard I need to do it differently between the two versions:
In 2021.06.0 I call the dashboard just calling the client as below:

from distributed import Client
client = Client()
# call client to see the dashboard
client

In 2021.10.0 I call the dashboard as below:

from distributed import Client
client = Client()
# call client.scheduler_info() to see the dashboard
client.scheduler_info()
# or
client

Did you mean to ask that on this discourse? While we are users of dask and interact with Dask developers frequently this Discourse is focused on HoloViz projects.

1 Like

Hi @geoviz

You should head over to Dask. But don’t get stuck over there :slight_smile: Our apps and dashboards are even more interesting.

I’d like to think that the subtext of this post is “Dask’s Bokeh-based dashboard is amazing, and I see that you guys are friendly with Dask and are also using Bokeh to do great things, so surely you had a hand in that and maybe Dask’s dashboard is actually a hierarchical HoloViews or Panel object that I could unpack and repack as I wish”? :slight_smile:

Alas, no; Dask’s dashboard is written directly in Bokeh and isn’t just a collection of self-contained HoloViews or Panel objects that can easily be mixed and matched. I personally wish that it were that way, as I often want to grab one of those panes and display it in a notebook cell or as part of a dashboard, but it was all written independently of HoloViz. It still may be possible to get bits of it and use Panel to display them in a different way, but that’s not as trivial as it would be for a Panel or HoloViews layout.

1 Like

Thank you for the feedback! Yes, the dashboard is really amazing and useful. I am getting good insight into performance of datashader using this dashboard. Agree it would be convenient if the charts were holoviews or panel objects. But probably there is some way to constrain the list of headers in the output. I have flagged my initial message to not show up in holoviz now. Not sure how you would like the thread to be deleted or not. Thanks for all good efforts you do.

1 Like

It’s no problem. We love Dask :heart:.

And it made me think that one day the someone might look into better integration with HoloViz?

1 Like

I mean in the end they are just a collection of Bokeh objects so they could be mixed and matched in exactly the same way that HV or Panel objects can.

Presumably you mean mixing and matching in Panel; HoloViews layouts can only handle HoloViews objects. And so you can’t select e.g. a range of a plot or sample it the way you could in HoloViews. In any case, would be nice to show an example of making a custom collection of some of the bits of the Dask dashboard as a Panel layout!

1 Like