Skip to main content

查看代码生成仪表板

代码生成仪表板显示 Copilot 如何在整个企业中生成代码,包括用户和代理的活动。

谁可以使用此功能?

企业所有者、组织管理员、计费经理和具有企业自定义角色的人员具有“查看企业 Copilot 指标”权限。

本文内容

注意

Copilot usage metrics are currently in public preview with data protection and subject to change.

By comparing user-initiated and agent-initiated activity across models, languages, and modes, you can see how teams are adopting AI-assisted and agent-driven development.

The dashboard shows aggregated code generation activity, including:

  • Lines of code changed with AI. The total lines of code added and deleted across all modes.
  • User-initiated code changes. Lines suggested or manually added through completions and chat actions.
  • Agent-initiated code changes. Lines automatically added or deleted by agents across edit, agent, and custom modes.
  • Activity by model and language. User-initiated and agent-initiated activity grouped by model and language.

For a detailed list of available metrics and definitions, see Data available in Copilot usage metrics.

Prerequisite

To access Copilot usage metrics, the "Copilot usage metrics" policy must be enabled:

Accessing the dashboard

  1. Navigate to your enterprise. For example, from the Enterprises page on GitHub.com.
  2. Click the Insights tab.
  3. In the left sidebar, click Code generation.

Next steps

To learn how to interpret the data in each chart and act on usage trends, see Interpreting usage and adoption metrics for GitHub Copilot.