Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport M72] refactor(telemetry): opt-out option (#7207)
This commit update the ability to disable telemetry for Enterprise-users only and no longer works for PLG users to ensure we can improve the product. - Updated the `cody.telemetry.level` configuration to reflect that telemetry can only be disabled for Enterprise instances. - Updated the telemetry provider to disable telemetry if the user is NOT on sourcegraph.com and has telemetry disabled. This change ensures that telemetry is only disabled for Enterprise users, as telemetry is always enabled for sourcegraph.com users. ## Test plan Makes sure the description for the telemetry level configuration shows that it is for enterprise only:  Verify telemetry is not disabled even if `cody.telemetry.level` is set to off. <br> Backport a6f7666 from #7205 Co-authored-by: Beatrix <[email protected]>
- Loading branch information