Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for newly GAed metrics API #15

Open
DevOps-zhuang opened this issue Nov 5, 2024 · 1 comment
Open

support for newly GAed metrics API #15

DevOps-zhuang opened this issue Nov 5, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@DevOps-zhuang
Copy link
Owner

https://docs.github.com/en/rest/copilot/copilot-metrics?apiVersion=2022-11-28#get-copilot-metrics-for-an-enterprise

🚀 Now Available: GitHub Copilot Metrics API in General Availability! 🚀
We’re thrilled to introduce the GA release of the GitHub Copilot Metrics API, now open to all GitHub Copilot Business and GitHub Copilot Enterprise users. This release is packed with features to give you greater visibility into Copilot's impact across your development workflow. Ready to dive into the data?

📊 What’s the GitHub Copilot Metrics API?
Imagine having detailed insights into how Copilot is being used across your enterprise. The Metrics API brings this to life by providing you with data on Copilot's usage—across teams, organizations, and individual features. Perfect for tracking trends, understanding usage patterns, and integrating with your own dashboards, the Metrics API helps you see where Copilot is adding value and how you can optimize its use.

🎉 What's New in the GA Release?
Here’s a peek at what’s included:

New metrics for Pull Request summaries and Copilot Chat on GitHub.com.
Clarity on code completions and Copilot Chat usage in IDEs.
User engagement summaries updated daily.
Custom model slicing support, coming soon!
Data is aggregated by enterprise, organization, and team.
Up to 28 days of historical data available for trend analysis.
With data loaded daily (UTC) and summarized by day, you can view patterns in real-time and make more data-informed decisions.

🤔 Will My Current Reporting Be Affected?
To make the transition smooth, we’ve kept the Beta route online through the end of the year. This means any current reporting tied to the Beta API will continue without interruption, while you explore the newly revised schema and expanded metrics in the GA version.

📚 Resources to Get Started
Docs: Ready to get started? Explore the API documentation for the full breakdown of metrics and schema.

@DevOps-zhuang DevOps-zhuang added the enhancement New feature or request label Nov 5, 2024
@DevOps-zhuang DevOps-zhuang self-assigned this Nov 5, 2024
@DevOps-zhuang
Copy link
Owner Author

there are more in-depth layer in new 'Metrics' API, I am thinking use mysql or document DB to save it, the main scenario is to insert/update and query aggregate data.

metrics
├── copilot_ide_code_completions
│ ├── languages
│ └── editors
│ └── models
│ └── languages
├── copilot_ide_chat
├── copilot_dotcom_chat
└── copilot_dotcom_pull_requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant