- Notifications
You must be signed in to change notification settings - Fork 18.5k
Description
Summary
Targeting gopls@v0.21.0, we are adding telemetry to collect users' interactions with the vulncheck codelens. These counters are necessary to understand how users are interacting with the vulncheck codelens. In the next release, CodeLensRunGoVulncheck will be true by default - https://go-review.googlesource.com/c/tools/+/706935.
gopls/settings/codelenses/vulncheck answers the question of if users' are opting in or out of the vulncheck codelens via settings.
However, after CodeLensRunGoVulncheck:true is landed, then we must determine if users are using the codelens itself if enabled all the time.
Given that we may want to extend this to other commands, include the ability to embed the original source of the command - i.e. codelens, codeaction, etc.
Proposed Example format:
counter: gopls/cmd/source:{vulncheck-codelens,run_govulncheck-codelens}