組織レベルメトリクスAPIがプルリクエスト処理能力メトリクスの同等性を追加
GitHubが組織レベルCopilot使用状況メトリクスAPIを拡張し、プルリクエスト作成数・処理能力・サイクル時間を含むより広範な活動データを提供。これにより組織レベルAPIがエンタープライズレベルと同等の機能を実現。
組織レベルのCopilot使用状況メトリクスAPIを拡張し、作成数、スループット、サイクルタイムを含む、より広範なプルリクエスト活動を対象とします。これにより、組織レベルのエンドポイントは、以前はエンタープライズレベルでのみ利用可能だった機能と同等になります。
新機能
組織は、組織レベルのAPIから以下のような日次集計されたプルリクエスト活動とCopilot参加メトリクスを直接取得できるようになりました:
ベースラインのプルリクエスト活動
- 作成されたプルリクエストの総数
- レビューされたプルリクエストの総数
- マージされたプルリクエストの総数
- マージまでの中央時間(分)
プルリクエストのスループットとレビュー品質におけるCopilotの参加状況
- Copilotによって作成されたプルリクエスト(Copilotコーディングエージェント)
- Copilotによってレビューされたプルリクエスト(Copilotコードレビュー)
- レビュー提案の総数と適用済み提案の総数
- Copilot提案とCopilot適用済み提案
- マージされたCopilot作成プルリクエスト
- Copilot作成プルリクエストのマージまでの中央時間
この変更の意義
この更新により、チームは以下のことが可能になります:
- 組織レベルでのレポート作成を標準化する。
- プルリクエストの作成からマージまでのライフサイクルにおけるCopilotの影響を定量化する。
- 提案数だけでなく、実用的なフィードバックの指標として適用済み提案も追跡する。
- エージェント作成プルリクエストやCopilotによるレビュー活動を含む、IDE外でのCopilot使用状況の可視性を向上させる。
重要な注意点
- 組織がエンタープライズに属している場合、組織レベルの合計はエンタープライズの合計と一致しない可能性があります。ユーザーは複数の組織に所属できるため、その使用状況は複数の組織レポートに表示されることがありますが、エンタープライズレポートではユーザーが重複排除されます。
- APIレポートでプルリクエストデータ以外が空の場合、それはIDEの使用状況がなく、プルリクエストデータのみが利用可能であることを意味している可能性があります。
- リポジトリ/組織の移管は帰属を分ける可能性があります。プルリクエストが作成(またはレビュー)された後、マージされる前にリポジトリが移管された場合、イベントは異なる組織に帰属される可能性があります(例:プルリクエストの作成/レビューは元の組織でカウントされ、プルリクエストのマージは新しい組織でカウントされる)。組織が新しいエンタープライズに移管された場合、イベントはエンタープライズレベルでは分割される可能性がありますが、組織レベルでは帰属は同じ組織のままです。
新しいデータフィールド定義の詳細については、Copilot使用状況メトリクスに関する当社のドキュメントをご覧ください。GitHubコミュニティでの議論にご参加ください。
この投稿「Org-level metrics API now includes pull request throughput metric parity」は、The GitHub Blogに最初に掲載されました。
原文を表示
We’re expanding the organization-level Copilot Usage Metrics API to include a broader set of pull request activity, including creation volume, throughput and cycle time. This brings the org-level endpoints to parity with what was previously available only at the enterprise level.
What’s new
Organizations can now retrieve daily aggregated pull request activity and Copilot participation metrics directly from the org-level API, including:
Baseline pull request activity
Total pull requests created
Total pull requests reviewed
Total pull requests merged
Median time to merge (minutes)
Copilot participation on pull request throughput + review quality
Pull requests created by Copilot (Copilot coding agent)
Pull requests reviewed by Copilot (Copilot code review)
Total review suggestions and total applied suggestions
Copilot suggestions and Copilot applied suggestions
Copilot-created pull requests that were merged
Median time to merge for Copilot-created pull requests
Why this matters
With this update, teams can:
Standardize reporting at the org level.
Quantify Copilot’s impact on the pull request lifecycle, from pull request creation to merge.
Track not just suggestion volume but also applied suggestions as a signal of actionable feedback.
Improve visibility into non-IDE Copilot usage, including agent-created pull requests and Copilot-authored review activity.
Important notes
If your organization belongs to an enterprise, organization-level totals may not match enterprise totals. Users can belong to multiple organizations, so their usage can appear in more than one organization report, while enterprise reporting deduplicates users.
If you see the API report is empty for everything but pull request data, it likely means they don’t have any IDE usage, so only pull request data is available.
Repo/org transfers can split attribution. If a repository is transferred after a pull request is created (or reviewed) but before it’s merged, events can be attributed to different orgs (e.g., pull request created/reviewed may count under the original org, while pull request merged counts under the new org). If an organization is transferred to a new enterprise, events may be split at the enterprise level, but at the org level, attribution stays with the same org.
For more information on the new data field definitions, visit our documentation about Copilot usage metrics. Join the discussion within GitHub Community.
The post Org-level metrics API now includes pull request throughput metric parity appeared first on The GitHub Blog.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み