streamlit / docs

Source code for the Streamlit Python library documentation
https://docs.streamlit.io
Apache License 2.0
114 stars 469 forks source link

Docs on `STREAMLIT_BROWSER_GATHER_USAGE_STATS` env var #872

Closed jamesbraza closed 3 months ago

jamesbraza commented 11 months ago

Link to doc page in question (if any):

I read somewhere (and being completely honest, I can no longer find the link) that setting the env var STREAMLIT_BROWSER_GATHER_USAGE_STATS=false will disable Streamlit browser usage stats.

I think a related config item is: browser.gatherUsageStats: https://docs.streamlit.io/library/advanced-features/configuration#browser

Can you add this env var (and other similarly related env vars) to the docs?

Name of the Streamlit feature whose docs need improvement:

Configuration --> Telemetry and Configuration --> Browser

What you think the docs should say:

Mention that one can use env vars, instead of .streamlit/config.toml

sfc-gh-dmatthews commented 4 months ago

I've added the explanation about converting config options from TOML format to environment variable format in a PR. Thanks.