mirror of
https://github.com/vale981/ray
synced 2025-03-06 18:41:40 -05:00

* Use new dashboard if environment var RAY_USE_NEW_DASHBOARD exists; new dashboard startup * Make fake client/build/static directory for dashboard * Add test_dashboard.py for new dashboard * Travis CI enable new dashboard test * Update new dashboard * Agent manager service * Add agent manager * Register agent to agent manager * Add a new line to the end of agent_manager.cc * Fix merge; Fix lint * Update dashboard/agent.py Co-authored-by: SangBin Cho <rkooo567@gmail.com> * Update dashboard/head.py Co-authored-by: SangBin Cho <rkooo567@gmail.com> * Fix bug * Add tests for dashboard * Fix * Remove const from Process::Kill() & Fix bugs * Revert error check of execute_after * Raise exception from DashboardAgent.run * Add more tests. * Fix compile on Linux * Use dict comprehension instead of dict(generator) * Fix lint * Fix windows compile * Fix lint * Test Windows CI * Revert "Test Windows CI" This reverts commit 945e01051ec95cff5fcc1c0bc37045b46e7ad9a6. * Fix ParseWindowsCommandLine bug * Update src/ray/util/util.cc Co-authored-by: Robert Nishihara <robertnishihara@gmail.com> Co-authored-by: 刘宝 <po.lb@antfin.com> Co-authored-by: SangBin Cho <rkooo567@gmail.com> Co-authored-by: Robert Nishihara <robertnishihara@gmail.com>
20 lines
812 B
Python
20 lines
812 B
Python
DASHBOARD_LOG_FILENAME = "dashboard.log"
|
|
DASHBOARD_AGENT_PORT_PREFIX = "DASHBOARD_AGENT_PORT_PREFIX:"
|
|
DASHBOARD_AGENT_LOG_FILENAME = "dashboard_agent.log"
|
|
DASHBOARD_AGENT_CHECK_PARENT_INTERVAL_SECONDS = 2
|
|
MAX_COUNT_OF_GCS_RPC_ERROR = 10
|
|
RETRY_REDIS_CONNECTION_TIMES = 10
|
|
UPDATE_NODES_INTERVAL_SECONDS = 5
|
|
CONNECT_GCS_INTERVAL_SECONDS = 2
|
|
CONNECT_REDIS_INTERNAL_SECONDS = 2
|
|
PURGE_DATA_INTERVAL_SECONDS = 60 * 10
|
|
REDIS_KEY_DASHBOARD = "dashboard"
|
|
REDIS_KEY_DASHBOARD_RPC = "dashboard_rpc"
|
|
REDIS_KEY_GCS_SERVER_ADDRESS = "GcsServerAddress"
|
|
REPORT_METRICS_TIMEOUT_SECONDS = 2
|
|
REPORT_METRICS_INTERVAL_SECONDS = 10
|
|
# Named signals
|
|
SIGNAL_NODE_INFO_FETCHED = "node_info_fetched"
|
|
# Default param for RotatingFileHandler
|
|
LOGGING_ROTATE_BYTES = 100 * 1000 * 1000 # maxBytes
|
|
LOGGING_ROTATE_BACKUP_COUNT = 5 # backupCount
|