Expand description
Telemetry module for anonymous usage data collection.
This module collects anonymous usage statistics to help improve spawn. It is designed to be:
- Non-blocking: Telemetry is sent by a detached child process
- Privacy-respecting: No personal data is collected
- Fail-silent: Errors are silently ignored
§Opt-out
Telemetry can be disabled by:
- Setting the
DO_NOT_TRACKenvironment variable (any value) - Setting
telemetry = falseinspawn.toml
§Debugging
Set SPAWN_DEBUG_TELEMETRY=1 to enable debug output for telemetry.
Structs§
- Telemetry
Event - A telemetry event to be sent (serializable for IPC)
- Telemetry
Recorder - Telemetry recorder for tracking command execution.
Enums§
- Command
Status - Status of command execution for telemetry
Functions§
- run_
internal_ telemetry - Run the internal telemetry handler (called by child process).
- send_
events - Send multiple telemetry events via a detached child process.