mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
[dashboard] include worker id in actor snapshot (#15967)
Co-authored-by: Alex Wu <alex@anyscale.com>
This commit is contained in:
parent
43be599a9a
commit
f080911d9b
2 changed files with 10 additions and 0 deletions
|
@ -73,6 +73,8 @@ class LogicalViewHead(dashboard_utils.DashboardHeadModule):
|
|||
"resources": dict(
|
||||
actor_table_entry.task_spec.required_resources),
|
||||
"actor_class": actor_table_entry.class_name,
|
||||
"current_worker_id": actor_table_entry.address.worker_id.hex(),
|
||||
"current_raylet_id": actor_table_entry.address.raylet_id.hex(),
|
||||
"ip_address": actor_table_entry.address.ip_address,
|
||||
"port": actor_table_entry.address.port,
|
||||
}
|
||||
|
|
|
@ -102,6 +102,12 @@
|
|||
"actorClass": {
|
||||
"type": "string"
|
||||
},
|
||||
"currentWorkerId": {
|
||||
"type": "string"
|
||||
},
|
||||
"currentRayletId": {
|
||||
"type": "string"
|
||||
},
|
||||
"ipAddress": {
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -118,6 +124,8 @@
|
|||
"endTime",
|
||||
"isDetached",
|
||||
"resources",
|
||||
"currentWorkerId",
|
||||
"currentRayletId",
|
||||
"actorClass",
|
||||
"ipAddress",
|
||||
"port"
|
||||
|
|
Loading…
Add table
Reference in a new issue