Metrics Export Service (#7809)

This commit is contained in:
SangBin Cho
2020-03-30 23:28:32 -07:00
committed by GitHub
parent bfb9248532
commit c23e56ce9a
15 changed files with 1039 additions and 286 deletions
+4 -7
View File
@@ -1112,13 +1112,9 @@ def start_dashboard(require_webui,
dashboard_filepath = os.path.join(
os.path.dirname(os.path.abspath(__file__)), "dashboard/dashboard.py")
command = [
sys.executable,
"-u",
dashboard_filepath,
"--host={}".format(host),
"--port={}".format(port),
"--redis-address={}".format(redis_address),
"--temp-dir={}".format(temp_dir),
sys.executable, "-u", dashboard_filepath, "--host={}".format(host),
"--port={}".format(port), "--redis-address={}".format(redis_address),
"--temp-dir={}".format(temp_dir)
]
if redis_password:
command += ["--redis-password", redis_password]
@@ -1150,6 +1146,7 @@ def start_dashboard(require_webui,
logger.info("View the Ray dashboard at {}{}{}{}{}".format(
colorama.Style.BRIGHT, colorama.Fore.GREEN, dashboard_url,
colorama.Fore.RESET, colorama.Style.NORMAL))
return dashboard_url, process_info
else:
return None, None