Skip to content

x/tools/gopls: collect editor kind information with telemetry #61038

@hyangah

Description

@hyangah
  • Counter: gopls/client:{vscode,vscodium,code-server,eglot,govim,neovim,coc.nvim,sublimetext,other}
  • Title: Editor Distribution
  • Description: measure editor distribution for gopls users.
  • Type: partition
  • Issue: go.dev/issues/61038
  • Program: golang.org/x/tools/gopls

Why?

We want to utilize this information when prioritizing editor-specific specialization and features.

Does it carry sensitive user information?

No.

How?

Some LSP clients send the name of editor in the initialization message's ClientInfo field.
Increment the counter corresponding to the field's value.

note: The default is 'local' which does not send any data to the telemetry server. Users must opt-in explicitly.

cc @golang/tools-team

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeTelemetry-AcceptedTelemetry-ProposalIssues proposing new telemetry counters.ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions