ray/dashboard/modules/state
SangBin Cho 00e3fd75f3
[State Observability] Ray log alpha API (#24964)
This is the PR to implement ray log to the server side. The PR is continued from #24068.

The PR supports two endpoints;

/api/v0/logs # list logs of the node id filtered by the given glob. 
/api/v0/logs/{[file | stream]}?filename&pid&actor_id&task_id&interval&lines # Stream the requested file log. The filename can be inferred by pid/actor_id/task_id
Some tests need to be re-written, I will do it soon.

As a follow-up after this PR, there will be 2 PRs.

PR to add actual CLI
PR to remove in-memory cached logs and do on-demand query for actor/worker logs
2022-06-04 05:10:23 -07:00
..
__init__.py Revert "Revert "[State Observability] Basic functionality for central… (#23933) 2022-04-18 21:15:43 -07:00
state_head.py [State Observability] Ray log alpha API (#24964) 2022-06-04 05:10:23 -07:00