ray/dashboard/modules/usage_stats
Jiajun Yao 3fb63847e2
Show usage stats prompt (#23822)
Show usage stats prompt when it's enabled.

Current UX are:

* The usage stats enabled or disabled message is shown every time in both terminal and dashboard.
* If users don't explicitly enable or disable usage stats, the first time they start a ray cluster interactively, they will be asked to confirm and will enable if no user action within 10s. If it's non-interactive, collection is enabled by default without confirmation.
* ray.init() doesn't collect usage stats
* Usage stats can be disabled via three approaches: 1. RAY_USAGE_STATS_ENABLED env var, 2. ray xxx --disable-usage-stats, 3. ray disable-usage-stats
2022-04-25 16:01:24 -07:00
..
__init__.py [Usage Stats] Implement usage stats report "Turned off by default". (#22249) 2022-02-22 15:32:02 -08:00
usage_stats_head.py Show usage stats prompt (#23822) 2022-04-25 16:01:24 -07:00