VS Copilot MetricsOverview 🚀VS Copilot Metrics is an extension that tracks usage statistics of GitHub Copilot within your Visual Studio environment. It provides insights into completion counts, generated code character counts (via tab key presses), and chat codeblock generation, giving users a clear understanding of their AI-assisted coding productivity. While the extension's name references "Copilot," it remains AI-agnostic for models that offer inline completions. However, for chat codeblock generation, the extension currently tracks only GitHub Copilot interactions. Telemetry 📡The extension provides integration with a telemetry server for comprehensive project usage metrics analysis. ConfigurationUsers can configure the following details in their session:
The server address, API key, and username are saved in the global session, while the project name is saved in the workspace session. Customizable EndpointsYou can personalize the following endpoints in the extension settings:
Username and Project Name ConfigurationConfigure the username and project name in two ways:
For remote quickpick, the request should follow this structure:
Remote CollectionOnce configured, metrics are dispatched individually for each accepted suggestion. This facilitates remote collection of fine-grained data, allowing integration into preferred analytics platforms. Telemetry payload structure:
Requirements 📦No specific prerequisites are necessary. The extension seamlessly integrates with any AI model offering inline completions within Visual Studio. Author 🧑💻NTTData Italia |