feat: Add Copilot app metrics to usage metrics structs - #4488
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4488 +/- ##
=======================================
Coverage 98.52% 98.52%
=======================================
Files 195 195
Lines 17745 17745
=======================================
Hits 17484 17484
Misses 261 261 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
gmlewis
approved these changes
Aug 25, 2026
alexandear
approved these changes
Aug 28, 2026
Collaborator
Add used_copilot_app, used_copilot_cloud_agent, totals_by_copilot_app, and daily_active_copilot_app_users to match the Copilot usage metrics API. Fixes google#4487
Tens1des
force-pushed
the
feat/copilot-app-metrics
branch
from
August 28, 2026 22:54
4192472 to
fc8444f
Compare
Contributor
Author
|
Thanks — I resolved the conflicts from #4481 (rebased onto master and switched the new test pointers to |
Tens1des
added a commit
to Tens1des/go-github
that referenced
this pull request
Aug 29, 2026
Resolve conflicts with google#4481 (new pointers) and google#4488 (Copilot app metrics).
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #4487
Adds support for Copilot app usage metrics fields documented at:
https://docs.github.com/en/copilot/reference/copilot-usage-metrics/copilot-usage-metrics
Test plan
go test ./github/... -run Copilot./script/generate.sh