mirror of
https://github.com/wassname/ray.git
synced 2026-07-10 05:22:59 +08:00
[Dashboard] Collecting worker stats in node manager and implement webui display in the backend (#6574)
This commit is contained in:
committed by
Philipp Moritz
parent
c5f141013b
commit
bac6f3b61e
@@ -388,7 +388,8 @@ class RayletStats(threading.Thread):
|
||||
for node in self.nodes:
|
||||
node_id = node["NodeID"]
|
||||
stub = self.stubs[node_id]
|
||||
reply = stub.GetNodeStats(node_manager_pb2.NodeStatsRequest())
|
||||
reply = stub.GetNodeStats(
|
||||
node_manager_pb2.NodeStatsRequest(), timeout=2)
|
||||
replies[node["NodeManagerAddress"]] = reply
|
||||
with self._raylet_stats_lock:
|
||||
for address, reply in replies.items():
|
||||
|
||||
Reference in New Issue
Block a user