Added initial implementation of telemetry @goruha (#1308)
## what * Make Atmos send anonymous statistics about usage and failures to posthogwhy
- The statistical information helps us improve support and development planning decisions
Summary by CodeRabbit
-
New Features
- Introduced anonymous telemetry collection to help improve the product, with clear opt-out options via configuration or environment variable.
- Added support for detecting CI and Docker environments to enrich telemetry data.
- Telemetry now includes workspace ID for Pro users to enhance support and troubleshooting.
-
Documentation
- Added a new Telemetry section in the README and detailed telemetry documentation page explaining data collection, usage, and opt-out methods.
-
Bug Fixes
- Configuration outputs and snapshots updated to include new telemetry settings consistently.
-
Tests
- Added comprehensive tests covering telemetry client creation, event capture, CI/Docker detection, environment variable handling, and opt-out scenarios.