[Stats] Improve Stats::Init & Add it to GCS server (#9563)

This commit is contained in:
SangBin Cho
2020-07-25 10:42:08 -07:00
committed by GitHub
parent 28d5f9696d
commit d49b19c24c
17 changed files with 232 additions and 48 deletions
+2 -1
View File
@@ -635,7 +635,8 @@ class Node:
redis_password=self._ray_params.redis_password,
config=self._config,
fate_share=self.kernel_fate_share,
gcs_server_port=self._ray_params.gcs_server_port)
gcs_server_port=self._ray_params.gcs_server_port,
metrics_agent_port=self._ray_params.metrics_agent_port)
assert (
ray_constants.PROCESS_TYPE_GCS_SERVER not in self.all_processes)
self.all_processes[ray_constants.PROCESS_TYPE_GCS_SERVER] = [