Files
ray/python/ray/WebUI.ipynb
T
alanamarzoevandRobert Nishihara bfe473fa8c Embedded task trace with object dependencies. (#818)
* Embedded timeline

* Yeah

* Fixed arrows not showing up.

* Fixed arrows not showing up, and added check boxes for the kinds of dependencies that should be included in the trace.

* first

* Fixes

* Fixed typo in comments, added more comments. fixed linting.

* Added more comments.

* Formatting.

* fixes

* Fixed state.py linting.

* Fixed ui.py linting errors.

* Fixed linting errors.

* Renamed task dependencies and included instructions for viewing arrows.

* Fixed according to PR comments.

* Fixed bug.

* Undid changes to metadata blocks.

* Fixes according to comments.

* Fixed linting.

* Fixed linting.

* NOQA keyword added to link line.
2017-08-09 23:00:14 -07:00

2.4 KiB

Ray UI

Start the UI with Kernel -> Restart and Run All.

In [ ]:
import os
import ray
import ray.experimental.ui as ui

ray.init(redis_address=os.environ["REDIS_ADDRESS"])
In [ ]:
ui.object_search_bar()
In [ ]:
ui.task_search_bar()

Task trace timeline.

To view arrows, go to View Options and select Flow Events.

In [ ]:
ui.task_timeline()

Task durations.

In [ ]:
ui.task_completion_time_distribution()

CPU usage.

In [ ]:
ui.cpu_usage()

Cluster usage.

In [ ]:
ui.cluster_usage()