ray/dashboard/modules/log
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
..
tests [State Observability] Ray log alpha API (#24964) 2022-06-04 05:10:23 -07:00
__init__.py [Dashboard] Dashboard basic modules (#10303) 2020-08-29 23:09:34 -07:00
log_agent.py [State Observability] Ray log alpha API (#24964) 2022-06-04 05:10:23 -07:00
log_consts.py [Core] Ray logs API (1/n) (#23435) 2022-04-20 23:11:02 -07:00
log_head.py [State Observability] Ray log alpha API (#24964) 2022-06-04 05:10:23 -07:00
log_manager.py [State Observability] Ray log alpha API (#24964) 2022-06-04 05:10:23 -07:00
log_utils.py [dashboard] Rename "new_dashboard" -> "dashboard" (#18214) 2021-09-15 11:17:15 -05:00