-
Notifications
You must be signed in to change notification settings - Fork 18k
x/tools/gopls: add a prompt to ask users if they want to enable Go telemetry #62576
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
Comments
Change https://go.dev/cl/527717 mentions this issue: |
Gopls needs to be able to query and set the current telemetry mode. Expose the Mode and SetMode APIs for this purpose. For golang/go#62576 Change-Id: I1f9aa03595cfa1b60c88ebe8a560c5ac6a1b1b40 Reviewed-on: https://go-review.googlesource.com/c/telemetry/+/527717 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Peter Weinberger <[email protected]>
Change https://go.dev/cl/529355 mentions this issue: |
Change https://go.dev/cl/530057 mentions this issue: |
We're eliminating the "local" telemetry mode, in favor of just on/off. Update gopls logic accordingly. For golang/go#62576 Change-Id: I41089062bf6963391ace059efe5ab4775a438c9e Reviewed-on: https://go-review.googlesource.com/c/tools/+/530057 Reviewed-by: Hyang-Ah Hana Kim <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
Change https://go.dev/cl/530459 mentions this issue: |
Update the telemetry prompt per discussion, and add a follow up message with more information after telemetry is enabled. For golang/go#62576 Change-Id: If03cade72b27a765da43db293c74d53d19b95a9c Reviewed-on: https://go-review.googlesource.com/c/tools/+/530459 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
As part of opt-in transparent telemetry (#58894), we're planning to experiment with a prompt asking users if they want to enable Go telemetry reporting. This is part of the "campaign cost" of opt-in telemetry mentioned at https://research.swtch.com/telemetry-opt-in. Implementing this prompt in gopls rather than the VS Code Go extension will result in a a more representative sample of participants across different editors.
Asking for the attention of our users is an important part of the opt-in telemetry model, but also must be done with great care. Here are some ideas for how to make prompting minimally invasive (other ideas welcome):
Therefore, we plan to do the following:
"prompt.telemetry"
setting controlling whether or not to ask about enabling telemetry. Until we're confident that the prompt is reliable and effective, the default value for this setting will befalse
."prompt.telemetry": true
from the VS Code client, and use the rate of new telemetry participants as a signal for whether the prompt is effective. We'll also pay close attention to any feedback we receive about the prompt itself.We expect that telemetry will help our team to deliver a faster, more robust, and generally higher quality product. If the prompt proves to be a net benefit for our users, we'll consider enabling it more widely.
The text was updated successfully, but these errors were encountered: