State API#
Note
APIs are alpha. This feature requires a full installation of Ray using pip install "ray[default]"
.
For an overview with examples see Monitoring Ray States.
For the CLI reference see Ray State CLI Reference or Ray Log CLI Reference.
State Python SDK#
State APIs are also exported as functions.
Summary APIs#
Summarize the actors in cluster. |
|
Summarize the objects in cluster. |
|
Summarize the tasks in cluster. |
List APIs#
List actors in the cluster. |
|
List placement groups in the cluster. |
|
List nodes in the cluster. |
|
List jobs submitted to the cluster by ray job submission. |
|
List workers in the cluster. |
|
List tasks in the cluster. |
|
List objects in the cluster. |
|
List runtime environments in the cluster. |
Get APIs#
Get an actor by id. |
|
Get a placement group by id. |
|
Get a node by id. |
|
Get a worker by id. |
|
Get task attempts of a task by id. |
|
Get objects by id. |
Log APIs#
Listing log files available. |
|
Retrieve log file based on file name or some entities ids (pid, actor id, task id). |
State APIs Schema#
Actor State |
|
Task State |
|
Node State |
|
PlacementGroup State |
|
Worker State |
|
Object State |
|
Runtime Environment State |
|
The state of the job that's submitted by Ray's Job APIs or driver jobs |
|