Skip to content

Commit

Permalink
Remove occupancy plot from status dashboard (#8995)
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmakait authored Jan 27, 2025
1 parent 49f5e74 commit fd3722d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions distributed/dashboard/components/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -4711,30 +4711,25 @@ def status_doc(scheduler, extra, doc):
processing_root = processing.root

current_load = CurrentLoad(scheduler, sizing_mode="stretch_both")
occupancy = Occupancy(scheduler, sizing_mode="stretch_both")
workers_transfer_bytes = WorkersTransferBytes(scheduler, sizing_mode="stretch_both")

cpu_root = current_load.cpu_figure
occupancy_root = occupancy.root

workers_memory.update()
workers_transfer_bytes.update()
processing.update()
current_load.update()
occupancy.update()

add_periodic_callback(doc, workers_memory, 100)
add_periodic_callback(doc, workers_transfer_bytes, 100)
add_periodic_callback(doc, processing, 100)
add_periodic_callback(doc, current_load, 100)
add_periodic_callback(doc, occupancy, 100)

doc.add_root(workers_memory.root)

tabs = [
TabPanel(child=processing_root, title="Processing"),
TabPanel(child=cpu_root, title="CPU"),
TabPanel(child=occupancy_root, title="Occupancy"),
TabPanel(child=workers_transfer_bytes.root, title="Data Transfer"),
]

Expand Down

0 comments on commit fd3722d

Please sign in to comment.