mirror of
https://github.com/wassname/ray.git
synced 2026-07-05 19:41:13 +08:00
Metrics Export Service (#7809)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user