Closed
Description
Summary
From gopls, we ask a select fraction of users to enable telemetry via an LSP prompt (a showMessageRequest dialog). Starting in gopls@v0.16.1, we record a gopls/telemetryprompt/accepted counter when users accept the prompt.
By collecting this counter, we can estimate the fraction of new telemetry participants that are coming from the prompt, which will help us evaluate the efficacy of the prompt itself.
Of course, we cannot know how many users decline the prompt.
Proposed Config Change
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status
Relationships
Development
No branches or pull requests
Activity
gabyhelp commentedon Aug 7, 2024
Related Issues and Documentation
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
findleyr commentedon Aug 9, 2024
It occurred to me that because we have a conservative cutoff, we won't ever upload the counter file for the day that telemetry is enabled: we only upload counter files that do not overlap with any period of time when telemetry uploading was not enabled.
Therefore, I think gopls should record at every startup whether the prompt was accepted. Theoretically, we could also record other prompt outcomes: some users may decline the prompt but enable telemetry via other means.
Putting this in the gopls@v0.16.2 milestone to address the collection issue.
cagedmantis commentedon Aug 12, 2024
cc @golang/telemetry
gopherbot commentedon Aug 14, 2024
Change https://go.dev/cl/603936 mentions this issue:
internal/chartconfig: add collection for gopls/telemetryprompt/accepted
gopherbot commentedon Aug 22, 2024
Change https://go.dev/cl/607758 mentions this issue:
gopls: increment the telemetryprompt acceptance counter for each session
gopls: increment the telemetryprompt acceptance counter for each session
gopherbot commentedon Aug 28, 2024
Change https://go.dev/cl/609135 mentions this issue:
[gopls-release-branch.0.16] gopls: increment the telemetryprompt acceptance counter for each session
[gopls-release-branch.0.16] gopls: increment the telemetryprompt acce…
gopls: update to 0.16.2.