This commit is contained in:
Dan Saunders
2025-02-26 17:56:46 +00:00
parent d3be84fec2
commit 249405b46e
2 changed files with 3 additions and 3 deletions

View File

@@ -39,9 +39,9 @@ runtime metrics telemetry.
The telemetry system will block training startup for 15 seconds to ensure users are The telemetry system will block training startup for 15 seconds to ensure users are
aware of data collection, unless telemetry is explicitly enabled or disabled. aware of data collection, unless telemetry is explicitly enabled or disabled.
## Opt-Out Mechanism ## Opt-In Mechanism
Telemetry is **disable by default** on an opt-in basis. To enable it, set: `AXOLOTL_DO_NOT_TRACK=0`. Telemetry is **disabled by default** on an opt-in basis. To enable it, set `AXOLOTL_DO_NOT_TRACK=0`.
To remove the warning message about telemetry that is displayed on train, etc. startup, To remove the warning message about telemetry that is displayed on train, etc. startup,
explicitly set: `AXOLOTL_DO_NOT_TRACK=0` (enable telemetry) or `AXOLOTL_DO_NOT_TRACK=1` explicitly set: `AXOLOTL_DO_NOT_TRACK=0` (enable telemetry) or `AXOLOTL_DO_NOT_TRACK=1`

View File

@@ -174,7 +174,7 @@ class TelemetryManager:
Tuple containing: Tuple containing:
- Boolean denoting whether telemetry is enabled or not. - Boolean denoting whether telemetry is enabled or not.
""" """
# Parse relevant env vars and fill opt-out default values # Parse relevant env vars
axolotl_do_not_track = os.getenv("AXOLOTL_DO_NOT_TRACK") axolotl_do_not_track = os.getenv("AXOLOTL_DO_NOT_TRACK")
do_not_track = os.getenv("DO_NOT_TRACK") do_not_track = os.getenv("DO_NOT_TRACK")