-
Notifications
You must be signed in to change notification settings - Fork 398
fix(telemetry): remove telemetry option from VSCode #7636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Telemetry can only be disabled for non-Sourcegraph.com / Workspaces instances. This commit updates the check to ensure telemetry is only disabled when the instance is not a dotcom or a workspace instance. ## Test Plan Data team to test
Co-authored-by: Aditya Kalia <32119652+akalia25@users.noreply.github.com>
vscode/src/services/telemetry-v2.ts
Outdated
// Telemetry Collection Policy: | ||
// - Sourcegraph.com users (Free & Pro): Telemetry collection is mandatory and always enabled. | ||
// - Workspace Users (Enterprise Starter): Telemetry collection is mandatory and always enabled. | ||
// - Enterprise Customer Users: Have the option to disable telemetry collection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
based on this https://sourcegraph.slack.com/archives/C08KHA6F94N/p1743439620212869?thread_ts=1743398116.650869&cid=C08KHA6F94N we may need to update this.
The `cody.telemetry.level` setting is removed from the VS Code configuration. Telemetry is now enabled by default for all users, except for those on enterprise
Hey @ichim-david, I tested this change with our internal sourcegraph workspace and was able to disable telemetry, 🤔 are you also experiencing this? |
working as expected! The issue was with my dev environment 🤦! Thanks @ichim-david for the change! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the quick action here!
- this avoids having to fix package.json after a simple save
The telemetry level check is removed. Telemetry is now enabled by default for all users
… warning This commit suppresses the N-API callback uncaught exception warning by setting the `NODE_NO_WARNINGS` environment variable to '1'. This prevents the warning from being displayed during integration tests. See https://nodejs.org/api/n-api.html#n_api_uncaught_exceptions for more information.
Removed telemetry option from VSCode
Test Plan
Data team to test and confirm on the telemetry side for all supported Cody clients