ray/dashboard/modules/runtime_env
SangBin Cho 8837a4593f
[State Observability] Truncate data when there are too many entries to return (#26124)
## Why are these changes needed?

This PR adds data truncation when there are more than N number of entries. The policy is as follow;

By default, we return 100 entries at max. Users can adjust this value, but we won't allow to increase more than 10K.

By default, all internal RPCs truncate data if it's > 10K. 

For distributed sources, we query each source with 10K limit and we apply limit again at the end. 

## Related issue number

Closes https://github.com/ray-project/ray/issues/25984#issue-1279280673
Part of https://github.com/ray-project/ray/issues/25718#issue-1268968400
2022-06-28 18:33:57 -07:00
..
tests [runtime env] URI reference refactor (#22828) 2022-03-21 11:21:15 -05:00
__init__.py [runtime env] support create or delete runtime envs in agent (#15904) 2021-06-09 20:22:25 +08:00
runtime_env_agent.py [State Observability] Truncate data when there are too many entries to return (#26124) 2022-06-28 18:33:57 -07:00
runtime_env_consts.py [api] Annotate as public / move ray-core APIs to _private and add enforcement rule (#25695) 2022-06-21 15:13:29 -07:00