Debian Codegraph @

gopls/internal/cmd/counters.go

raw symbols SCIP
1 // Copyright 2025 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package cmd
6
7 import "golang.org/x/telemetry/counter"
8
9 // Proposed counters for evaluating usage of the Go MCP Server. These counters
10 // increment when the user starts up the server in attached or headless mode.
11 var (
12 countHeadlessMCPStdIO = counter.New("gopls/mcp-headless:stdio")
13 countHeadlessMCPSSE = counter.New("gopls/mcp-headless:sse")
14 countAttachedMCP = counter.New("gopls/mcp")
15 )