Skip to main content

Viewing the code generation dashboard

The code generation dashboard shows how Copilot generates code across your enterprise, including activity from both users and agents.

谁可以使用此功能?

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

本文内容

注意

GitHub Copilot 使用情况指标目前处于 使用数据保护的公共预览版 阶段,可能会发生更改。

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 Copilot 使用情况指标中可用的数据.

Prerequisite

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

Accessing the dashboard

  1. 转到“ 企业 ”页并选择企业。
  2. 单击“见解”选项卡。
  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 解释 GitHub Copilot 的使用情况和采用指标.