Beta Repository metrics via GraphQL: LastContributionDate and CommitCount #72156
Replies: 4 comments 3 replies
-
How does Github guarantee this increases in the cases of:
Do the counts just sit until the new configuration reaches a previously reported commit count? Or is this more accurate if "monotonically increasing" is removed? |
Beta Was this translation helpful? Give feedback.
-
Thanks so much for sharing with the community @ahpook! 🚀 |
Beta Was this translation helpful? Give feedback.
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
The introduction of LastContributionDate and CommitCount in the GraphQL API is a valuable addition for developers seeking deeper insights into repository activity. Tools like Gitlights leverage these metrics to offer comprehensive analytics on contribution patterns and commit histories. For instance, Gitlights provides visualizations that help in understanding the frequency and distribution of commits over time: Utilizing such tools alongside the new GraphQL metrics can significantly enhance repository management and decision-making processes. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Product Feedback
Body
There are two new metrics available under the
Repository
object in the GraphQL API:These metrics are currently in public beta, so you will need to include a header to your GraphQL requests to opt-in:
Please let me know here if you find these useful! Unless something goes horribly wrong, after a period of comment we'll make them generally available and remove the requirement for a feature flag.
Beta Was this translation helpful? Give feedback.
All reactions