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(
|
"resources": dict(
|
||||||
actor_table_entry.task_spec.required_resources),
|
actor_table_entry.task_spec.required_resources),
|
||||||
"actor_class": actor_table_entry.class_name,
|
"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,
|
"ip_address": actor_table_entry.address.ip_address,
|
||||||
"port": actor_table_entry.address.port,
|
"port": actor_table_entry.address.port,
|
||||||
}
|
}
|
||||||
|
|
|
@ -102,6 +102,12 @@
|
||||||
"actorClass": {
|
"actorClass": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"currentWorkerId": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"currentRayletId": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"ipAddress": {
|
"ipAddress": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
@ -118,6 +124,8 @@
|
||||||
"endTime",
|
"endTime",
|
||||||
"isDetached",
|
"isDetached",
|
||||||
"resources",
|
"resources",
|
||||||
|
"currentWorkerId",
|
||||||
|
"currentRayletId",
|
||||||
"actorClass",
|
"actorClass",
|
||||||
"ipAddress",
|
"ipAddress",
|
||||||
"port"
|
"port"
|
||||||
|
|
Loading…
Add table
Reference in a new issue