Copilot Code Review Metrics Now Break Down by Comment Type
Copilot's usage metrics API now breaks down code review suggestions by type—security, bug_risk, and more—so you can see which feedback developers actually apply.
TL;DR
- Copilot usage metrics API now reports code review suggestions grouped by comment type (security, bug_risk, etc.)
- See which suggestion types developers actually apply vs. ignore
- Available at enterprise and organization levels; repository-level drill-down coming later
New
- Comment type breakdown in usage metrics — The
copilot_suggestions_by_comment_typearray now appears underpull_requestsin both enterprise and organization reports, showing aggregated counts by category. - Applied suggestions tracking — Each comment type now reports both total suggestions posted and how many were actually applied by developers, letting you measure which feedback sticks.
- Single-day and 28-day rolling windows — Metrics available at both granularities for enterprise and organization scopes.
What You Get
comment_type— The category Copilot assigned (e.g.,security,bug_risk).total_copilot_suggestions— Count of suggestions of that type posted during the period.total_copilot_applied_suggestions— How many were applied by developers.
Important Notes
- Enterprise admins and organization owners with Copilot usage metrics access can query this via REST API.
- Only suggestions posted by Copilot code review are included; metrics reflect the comment type assigned at post time.
- Repository-level drill-down is not yet available but is being investigated.
Update your API calls to the Copilot usage metrics API to start pulling comment type data.
Source: GitHub Changelog