觉
AI觉醒星球
Awakening is here
Knowledge File / AI小生意项目库
2026-07-03 8 浏览 免费阅读

改进Copilot使用度量报告的准确性与覆盖范围

GitHub Copilot使用度量API进行了三项改进:CLI现在报告建议的代码行数、服务器端遥测用户现在有IDE标识、AI信用消耗归因更完整。这些更新减少了盲点,提高了数据的可信度,并确保跨IDE、CLI和服务器端表面的一致性分析。

SOURCE / AI小生意项目库 MIN / 9 ACCESS / 免费阅读 POST / 2026-07-03 07:19:06

原贴

查看原文
作者:Allison 来源站点:github.blog 原贴时间:

原文

We’ve made three improvements to the Copilot usage metrics API that make its reports more complete and accurate: GitHub Copilot CLI now reports suggested lines of code, users seen only through server-side telemetry now have their IDE identified, and AI credit consumption is now attributed more completely. GitHub Copilot CLI now reports suggested lines of code. CLI activity now contributes to the loc_suggested_to_add_sum and loc_suggested_to_delete_sum fields, which previously always reported 0 for the CLI. Code generation counts are also more accurate on newer CLI versions, where suggested and accepted edits are de-duplicated so the same edit isn’t counted twice. IDE identified for more users. Users who were previously visible only through server-side telemetry now have their IDE and plugin versions surfaced in totals_by_ide , so totals_by_ide reflects more of your Copilot users. AI credits attributed more accurately. We fixed two issues that caused some users to show 0.0 AI credits despite real usage. First, AI credit consumption not associated with an organization was being dropped. It’s now attributed to the correct organization or enterprise. Second, users seen only through server-side telemetry were not being matched to their billing data. Their consumption is now included. Thanks to these updates, ai_credits_used totals more completely reflect actual consumption. More complete coverage: Surfacing CLI suggested lines of code and identifying IDEs for server-side-only users means fewer blind spots in who is using Copilot and how. More trustworthy consumption data: Correcting AI credit attribution means ai_credits_used totals more accurately reflect what your users actually consumed. Consistent analysis across surfaces: As Copilot usage spans the IDE, CLI, and server-side surfaces, these updates keep the reports aligned with real activity. These metrics are available to enterprise administrators and organization owners who have access to Copilot usage metrics through the REST API. Copilot CLI reports suggested lines of code from CLI version 1.0.57 onward. Code generation de-duplication applies from version 1.0.64 onward. Between 1.0.57 and 1.0.64 , code generation activity may be slightly undercounted for the CLI. AI credit totals for previously-missed usage will increase as a result of these attribution fixes—values that were already reported are unchanged. Visit the Copilot usage metrics API documentation to learn more.

中文翻译

我们对Copilot使用度量API进行了三项改进,使其报告更完整、更准确:GitHub Copilot CLI现在报告建议的代码行数,仅通过服务器端遥测看到的用户现在有了IDE标识,AI信用消耗现在更完整地归因。GitHub Copilot CLI现在报告建议的代码行数。CLI活动现在贡献给loc_suggested_to_add_sum和loc_suggested_to_delete_sum字段,之前这些字段对CLI总是报告0。在较新的CLI版本上,代码生成计数也更准确,因为建议和接受的编辑被去重,同一编辑不会被计数两次。更多用户的IDE被识别。之前仅通过服务器端遥测可见的用户,现在其IDE和插件版本在totals_by_ide中显示,因此totals_by_ide反映了更多Copilot用户。AI信用更准确地归因。我们修复了两个导致某些用户显示0.0 AI信用但实际有使用的问题。首先,未与组织关联的AI信用消耗被丢弃,现在归因到正确的组织或企业。其次,仅通过服务器端遥测看到的用户未匹配到其计费数据,现在他们的消耗也被包含。得益于这些更新,ai_credits_used总量更完整地反映实际消耗。更完整的覆盖:显示CLI建议的代码行数并为仅服务器端用户识别IDE,意味着减少了谁在使用Copilot以及如何使用的盲点。更可信的消耗数据:纠正AI信用归因意味着ai_credits_used总量更准确地反映用户实际消耗。跨表面的一致性分析:随着Copilot使用跨越IDE、CLI和服务器端表面,这些更新使报告与实际活动保持一致。这些度量指标可供拥有通过REST API访问Copilot使用度量权限的企业管理员和组织所有者使用。Copilot CLI从1.0.57版本开始报告建议的代码行数。代码生成去重从1.0.64版本开始应用。在1.0.57和1.0.64之间,CLI的代码生成活动可能略少计。由于这些归因修复,之前遗漏的使用对应的AI信用总量将增加——已经报告的值不变。访问Copilot使用度量API文档了解更多。

核心信息

GitHub Copilot使用度量API进行了三项改进:CLI现在报告建议的代码行数、服务器端遥测用户现在有IDE标识、AI信用消耗归因更完整。这些更新减少了盲点,提高了数据的可信度,并确保跨IDE、CLI和服务器端表面的一致性分析。

  • GitHub Copilot使用度量API进行了三项改进:CLI现在报告建议的代码行数、服务器端遥测用户现在有IDE标识、AI信用消耗归因更完整。这些更新减少了盲点,提高了数据的可信度,并确保跨IDE、CLI和服务器端表面的一致性分析。
  • 原贴提到:We’ve made three improvements to the Copilot usage metrics API that make
  • 来源:github.blog

详细解读

这是什么信号? GitHub Copilot的使用度量API进行了三项关键改进,旨在提高数据完整性和准确性。这意味着GitHub正在积极优化其企业级分析工具,以提供更可靠的采用率和消耗数据。

为什么重要? 对于企业管理员和团队负责人而言,准确的使用数据是评估投资回报率(ROI)和优化许可证分配的基础。以前,CLI和服务器端用户的数据存在盲点,导致决策基于不完整信息。修复后,数据能更真实反映Copilot的实际使用情况,从而支持更精准的预算和资源规划。

对谁有价值? 主要价值受众是GitHub Enterprise的管理员、组织所有者以及负责DevOps工具链的团队。此外,依赖Copilot进行代码生成的开发者也会间接受益,因为更合理的资源分配可能带来更好的服务稳定性。

可以怎么行动? 1) 管理员应立即更新到支持这些度量的CLI版本(≥1.0.64),以确保数据完整。2) 定期审查更新后的totals_by_ide和ai_credits_used报告,重新评估Copilot的使用率与成本。3) 结合新数据,调整团队内Copilot的推行策略,比如识别高使用率但低分配的群体。

风险或限制: 1) CLI版本介于1.0.57-1.0.64之间的用户,代码生成活动可能被低估,需要等待升级。2) 这些改进仅适用于REST API,不直接反映在GitHub UI中,需要额外开发集成工作。3) AI信用归因的调整会导致历史数据断点,无法与之前数据直接对比。

信息差价值

这条内容的真正价值,不只是“有人发布了一个新功能”,而是它揭示了 github.blog 背后的产品方向、工作流变化或竞争信号。对 OPC 来说,这种信息可以转化成持续追踪的栏目选题。

如果把《改进Copilot使用度量报告的准确性与覆盖范围》放到你的内容系统里,它最大的价值在于帮助读者更快看懂“为什么值得关注”,而不是只看到一条碎片化动态。

参考来源

AI SUMMARY

这篇文章回答了什么

改进Copilot使用度量报告的准确性与覆盖范围主要讲什么?

GitHub Copilot使用度量API进行了三项改进:CLI现在报告建议的代码行数、服务器端遥测用户现在有IDE标识、AI信用消耗归因更完整。这些更新减少了盲点,提高了数据的可信度,并确保跨IDE、CLI和服务器端表面的一致性分析。

这篇文章最值得关注的要点是什么?

GitHub Copilot使用度量API进行了三项改进:CLI现在报告建议的代码行数、服务器端遥测用户现在有IDE标识、AI信用消耗归因更完整。这些更新减少了盲点,提高了数据的可信度,并确保跨IDE、CLI和服务器端表面的一致性分析。;原贴提到:We’ve made three improvements to the Copilot usage metrics API that make;来源:github.blog

这篇文章和哪些AI专题相关?

它适合放在AI副业、AI工具专题里阅读。 关联原因:这篇内容命中「项目、小生意、变现」等主题信号。;这篇内容命中「AI工具、工具」等主题信号。

阅读这篇文章建议先理解哪些关键词?

建议先理解AI工具、工具、自动化、模型、Cursor这些关键词,再结合正文判断工具、机会或风险是否值得进入自己的工作流。

上一篇 扎克伯格称AI智能体开发速度未如预期 下一篇 Gemini 2.5 Pro 和 Gemini 3 Flash 即将弃用
北竹游乐场 免费玩小游戏 免费玩