To help core developers improve Daft, we collect non-identifiable statistics on Daft usage in order to better understand how Daft is used, common bugs and performance bottlenecks.
We take the privacy of our users extremely seriously, and telemetry in Daft is built to be:
- Easy to opt-out: to disable telemetry, set the following environment variable:
DAFT_ANALYTICS_ENABLED=0
- Non-identifiable: events are keyed by a session ID which is generated on import of Daft
- Metadata-only: we do not collect any of our users' proprietary code or data
We do not sell or buy any of the data that is collected in telemetry.
Daft telemetry is enabled in versions >= v0.0.21
To audit what data is collected, please see the implementation of AnalyticsClient
in the daft.analytics
module.
In short, we collect the following:
- On import, we track system information such as the runner being used, version of Daft, OS, Python version, etc.
- On calls of public methods on the DataFrame object, we track metadata about the execution: the name of the method, the walltime for execution and the class of error raised (if any). Function parameters and stacktraces are not logged, ensuring that user data remains private.