Skip to content

x/tools/gopls: add windsurf and cursor bucket to the gopls/client counter #74874

@h9jiang

Description

@h9jiang

Summary

As an extension of #61038, can we also add a windsurf and cursor bucket to the gopls/client counter. New definition:

  • Counter: gopls/client:{vscode,vscode-insiders,vscodium,code-server,eglot,govim,neovim,coc.nvim,sublimetext,windsurf,cursor,other}
  • Title: Editor Distribution
  • Description: measure editor distribution for gopls users.
  • Type: partition
  • Program: golang.org/x/tools/gopls

Why?

This may help us answer the questions, why is the "gopls/client:other" is growing over the past year:

Other: 1122, VSCode: 5254
https://telemetry.go.dev/charts/2024-12-26_2025-01-01

Other: 2935, VSCode: 5830
https://telemetry.go.dev/charts/2025-07-14_2025-07-20

The percentage of other LSP client is increasing faster than vscode LSP client.

Does it carry sensitive user information?

No.

How?

Same as #61038.

[Trace - 7:30:52 PM] Sending request 'initialize - (0)'.
Params: {
    "processId": 8180,
    "clientInfo": {
        "name": "Windsurf",
        "version": "1.99.3"
    },
    "locale": "en",

[Trace - 7:32:39 PM] Sending request 'initialize - (0)'.
Params: {
    "processId": 22744,
    "clientInfo": {
        "name": "Cursor",
        "version": "1.99.3"
    },

Proposed Config Change

CL 693115

Metadata

Metadata

Assignees

No one assigned

    Labels

    Telemetry-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

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions