GitHub · SOURCE SUMMARY

将 VS Code Agents 添加到 Copilot 使用指标中

GitHub Copilot 使用指标报告现已正式包含专用 VS Code Agents 窗口中的活动指标,帮助你在企业和组织范围内衡量采用率与参与度。内容包含……文章《将 VS Code Agents 添加到 Copilot 使用指标中》……

来源:GitHub
SOURCE SUMMARY · 来源摘要

Add VS Code Agents to Copilot usage metrics

GitHub Copilot usage metrics reports now include generally available metrics for activity in the dedicated VS Code Agents window, helping you measure adoption and engagement across enterprises and organizations.

What’s new

Aggregate enterprise and organization reports for both 1-day and 28-day periods now include:

  • daily_active_vscode_agent_users: An optional count of unique users active in the VS Code Agents window each day.

  • totals_by_vscode_agent: Optional aggregate of session_count and total_user_messages values.

Enterprise-user and organization-user reports for both 1-day and 28-day periods now include:

  • used_vscode_agent: An optional indicator of whether the user used the VS Code Agents window.

  • totals_by_vscode_agent: Optional per-user session_count and total_user_messages values.

Why this matters

These metrics help you understand how many people use the VS Code Agents window and how they engage with it. You can use the aggregate reports to track adoption and activity trends, then use the user-level reports to understand usage across teams.

Important notes

  • These metrics cover the dedicated VS Code Agents window only. They remain separate from editor-window Agent Mode and generic usage rollups.

  • Missing-data behavior is backward compatible — optional fields remain absent or null when corresponding VS Code Agents-window data is unavailable.

  • Access is available to enterprise owners and billing managers, organization owners, and anyone with a custom organization or enterprise role granting View Copilot Metrics. The Copilot usage metrics policy must be enabled.

Visit the Copilot usage metrics API documentation to get started.