| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
package mcp |
| 6 |
|
| 7 |
import "golang.org/x/telemetry/counter" |
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
var ( |
| 12 |
countGoContextMCP = counter.New("gopls/mcp-tool:go_context") |
| 13 |
countGoDiagnosticsMCP = counter.New("gopls/mcp-tool:go_diagnostics") |
| 14 |
countGoFileContextMCP = counter.New("gopls/mcp-tool:go_file_context") |
| 15 |
countGoFileDiagnosticsMCP = counter.New("gopls/mcp-tool:go_file_diagnostics") |
| 16 |
countGoFileMetadataMCP = counter.New("gopls/mcp-tool:go_file_metadata") |
| 17 |
countGoPackageAPIMCP = counter.New("gopls/mcp-tool:go_package_api") |
| 18 |
countGoReferencesMCP = counter.New("gopls/mcp-tool:go_references") |
| 19 |
countGoRenameSymbolMCP = counter.New("gopls/mcp-tool:go_rename_symbol") |
| 20 |
countGoSearchMCP = counter.New("gopls/mcp-tool:go_search") |
| 21 |
countGoSymbolReferencesMCP = counter.New("gopls/mcp-tool:go_symbol_references") |
| 22 |
countGoWorkspaceMCP = counter.New("gopls/mcp-tool:go_workspace") |
| 23 |
countGoVulncheckMCP = counter.New("gopls/mcp-tool:go_vulncheck") |
| 24 |
) |