feat(gh-copilot): close Copilot metrics parity gaps#8889
feat(gh-copilot): close Copilot metrics parity gaps#8889jaroslawgajewski wants to merge 4 commits into
Conversation
klesh
left a comment
There was a problem hiding this comment.
LGTM.
Thanks for your contribution.
|
Hi, the end-to-end tests are failing. Could you please fix them so I can merge the pull request? |
…de review, and PR fields Add missing GitHub Copilot Metrics API fields to achieve full API parity: Enterprise/Org metrics: - CLI active user counts and CLI breakdown (sessions, requests, tokens) - Code review user counts (daily/weekly/monthly × active/passive) - Chat panel mode breakdown (agent/ask/custom/edit/plan/unknown) - Expanded PR metrics (merged, merge time, suggestions, Copilot impact) Per-user metrics: - used_cli, used_copilot_code_review_active/passive boolean flags - CLI breakdown per user (sessions, requests, tokens) User-team mapping (new): - New collector/extractor for user-teams-1-day endpoint - Enables team-level metrics via JOIN with per-user tables Seat assignments: - Team assignment fields (assigning_team id/name/slug) - User detail fields (name, email) Includes migration script 20260527 and comprehensive docs in COPILOT_METRICS_GAPS.md. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… implement new user-team mapping and metrics enhancements Signed-off-by: Jarek <jaroslaw.gajewski@atos.net>
a3cf709 to
fc4687c
Compare
aea52cd to
babcd14
Compare
|
@klesh e2e tests issue addressed |
|
Our Copilot Metrics APIs are updated frequently so this is a good change. For future reference we keep our updates schemas here: Although even this one can sometimes miss updates by a few days/weeks. I have a more updated one I run regularly here: https://github.com/DevExpGbb/copilot-metrics-roi-toolkit/tree/main/copilot-api-schemas |
|
Might need another round of fixes of e2e tests @jaroslawgajewski |
Let me check it |
|
Hi, seems like there are still problems. Could you please take a look. Thanks. |
Summary
user-teams-1-daycollection, extraction, migration, and table support for team-level correlationTesting
go test ./plugins/gh-copilot/models/... -count=1go test ./plugins/gh-copilot/tasks/... -count=1go build ./plugins/gh-copilot/...go vet ./plugins/gh-copilot/...Related