Search before asking
Use case
The gh-copilot plugin currently ingests organization/enterprise-level aggregate metrics, per-user daily activity counts, and breakdowns by feature, IDE, and language. However, several metric dimensions available in the GitHub Copilot Metrics Reports API are not collected, leaving gaps that prevent fully analyzing Copilot adoption and ROI.
Description
The following metrics are available in the GitHub Copilot Metrics Reports API (users-1-day and enterprise endpoints) but are not currently collected by the gh-copilot plugin:
CLI Metrics (totals_by_cli)
CLI/terminal usage is a fast-growing Copilot surface. The API provides per-user per-day CLI metrics that are not collected:
| Field |
Type |
Description |
| session_count |
int |
Number of CLI sessions |
| request_count |
int |
Number of CLI requests |
| prompt_count |
int |
Number of prompts sent via CLI |
| token_usage.output_tokens_sum |
bigint |
Total output tokens consumed |
| token_usage.prompt_tokens_sum |
bigint |
Total prompt/input tokens consumed |
| token_usage.avg_tokens_per_request |
float |
Average tokens per request |
| last_known_cli_version.cli_version |
string |
CLI version (e.g. "1.0.8") |
| last_known_cli_version.sampled_at |
timestamp |
When version was last observed |
Related issues
#8843 -- GitHub App authentication for gh-copilot
Are you willing to submit a PR?
Code of Conduct
Search before asking
Use case
The gh-copilot plugin currently ingests organization/enterprise-level aggregate metrics, per-user daily activity counts, and breakdowns by feature, IDE, and language. However, several metric dimensions available in the GitHub Copilot Metrics Reports API are not collected, leaving gaps that prevent fully analyzing Copilot adoption and ROI.
Description
The following metrics are available in the GitHub Copilot Metrics Reports API (users-1-day and enterprise endpoints) but are not currently collected by the gh-copilot plugin:
CLI Metrics (totals_by_cli)
CLI/terminal usage is a fast-growing Copilot surface. The API provides per-user per-day CLI metrics that are not collected:
Related issues
#8843 -- GitHub App authentication for gh-copilot
Are you willing to submit a PR?
Code of Conduct