fool65c opened a new issue, #8846: URL: https://github.com/apache/incubator-devlake/issues/8846
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement. ### 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](https://docs.github.com/rest/copilot/copilot-usage-metrics) (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? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
