docs/observability/progress-indicators.md
Daft includes built-in progress indicators to track query execution in local and distributed runs. Progress indicators help you monitor execution status and estimate remaining work.
See also:
When running in a shell (like Bash) or in a Jupyter Notebook, Daft displays a progress indicator with query statistics. These statistics differ between local and distributed (Ray) execution.
!!! note "Note"
When running a Python script outside of a user-facing shell, the progress indicator is disabled. If you want to disable the progress indicator explicitly, set the environment variable `DAFT_PROGRESS_BAR=0`. This can be useful for benchmarking as progress tracking can add overhead in local execution.
In local or single-node execution, the progress indicator shows:
In distributed execution on Ray, the progress indicator shows:
Ray automatically manages a different progress indicator based on tasks and actors. This progress indicator tracks different statistics and is not as customizable.