ray/dashboard/modules/state
SangBin Cho e9f6ffc5a5
[Core][State Observability] Use address arg + print warning if API responds slowly (#26008)
This PR is doing 2 things.

(1) Use api_server_url to address which is consistent to other submission APIs.
(2) When the API is not responded timely, it prints a warning every 5 seconds. Below is an example. This is useful when the API is slowly responded (e.g., when there are partial failures). Without this users will see hanging API for 30 seconds, which is a pretty bad UX.

(0.12 / 10 seconds) Waiting for the response from the API server address http://127.0.0.1:8265/api/v0/delay/5.
2022-07-14 06:44:07 -07:00
..
__init__.py Revert "Revert "[State Observability] Basic functionality for central… (#23933) 2022-04-18 21:15:43 -07:00
state_head.py [Core][State Observability] Use address arg + print warning if API responds slowly (#26008) 2022-07-14 06:44:07 -07:00