Thanks to visit codestin.com
Credit goes to github.com

Skip to content

x/telemetry/config: add counters for MCP server tool usage #75450

@ethanalee-work

Description

@ethanalee-work

Summary

Targeting [email protected], we are adding telemetry to collect usage metrics for all tools provided by the gopls MCP server. These counters are necessary to understand mcp tool usage and inform future decisions regarding tool support.

gopls/mcp-tool:go_context - user requests context for a region within a Go file.
gopls/mcp-tool:go_diagnostics - user requests Go workspace diagnostics.
gopls/mcp-tool:go _file_context - user requests a summary of a file's cross-file dependencies.
gopls/mcp-tool:go_file_diagnostics - user requests diagnostics for a Go file.
gopls/mcp-tool:go_file_metadata - user requests metadata about the Go package containing a file.
gopls/mcp-tool:go_package_api - user requests a summary of a Go package API.
gopls/mcp-tool:go_references - user requests the locations of references to a given object.
gopls/mcp-tool:go_search - user searches for symbols in the Go workspace.
gopls/mcp-tool:go_symbol_references - user requests the locations of references to a package-level Go symbol. gopls/mcp-tool:go_workspace - user requests a summary of the Go workspace.
gopls/mcp-tool:go_vulncheck - user runs a vulnerability check on the Go workspace.

Proposed Config Change

https://go-review.googlesource.com/c/telemetry/+/703256

Metadata

Metadata

Assignees

No one assigned

    Labels

    Telemetry-ProposalIssues proposing new telemetry counters.telemetryx/telemetry issues

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions