[Share feedback] API insights in public preview #142990
Replies: 7 comments 1 reply
-
This is a great enhancement to GitHub to help expose the use of API tokens and how they are being used. I have previously experienced issues with the GitHub Actions github-token being rate limted for repos, is there any plans to expose this tokens usage in this report? |
Beta Was this translation helpful? Give feedback.
-
Hi! I think this is a great feature to see how different GitHub apps and tokens are used! We have previously created our own app that gets a list of app credentials and just checks their rate-limit periodically and dumps it in prometheus. We will be happy if we don't need to maintain it anymore :) That said, the numbers on GitHub's new dashboard doesn't seem to add up. For example, we have an app used by backstage which pulls things from GitHub relatively often and on GitHub's new dashboards it shows that in last our backstage app did 33k REST API requests and was rate-limited 0 times. But rate-limit is 15k for GitHub Apps, right? On our own dashboards we see that the same app only does up to 5k requests per hour (at least those counted towards rate limit). It would be nice to see specifically amount of requests that go towards primary rate limit + the graph per user/app. |
Beta Was this translation helpful? Give feedback.
-
Appreciate this feature! I always have the same question when I see a new org-level feature... will we get this dashboard at the Enterprise level? 😄 |
Beta Was this translation helpful? Give feedback.
-
Very cool feature, but I'm having trouble understanding the data. My org says I've made 18 requests in the last 7 days, but during business hours I average more than 18 requests per hour. A few org members have 3-10k in the last 7 days which is the order of magnitude I would expect for most of my team... but mostly the numbers are showing sub-100. Most of these requests are done through an OAuth application but the application isn't showing up at the top of the list either. |
Beta Was this translation helpful? Give feedback.
-
This is awesome and very useful for us when trying to track down if/how tokens are used! However, yesterday when I tried this feature I could see the NAMES of the (classic) tokens being used. Today, that feature is gone. I guess for security/privacy reasons? Unfortunately this makes this way less useful. Is there any way the token names can come back? For example if I view the insights with the account that actually owns the tokens or something? Edit: I just found you can see the names if you click on the details for each token but not in the overview like yesterday. |
Beta Was this translation helpful? Give feedback.
-
We are using this function. This seems to be UTC time. |
Beta Was this translation helpful? Give feedback.
-
This is amazing! We use a prometheus exporter very similar to https://github.com/kalgurn/github-rate-limits-prometheus-exporter to get alerted when our github apps are at risk of running over rate limits.
|
Beta Was this translation helpful? Give feedback.
-
As a GitHub Enterprise Cloud organization owner, you and your designated users can now use API insights to visualize REST API activity for your entire organization or specific apps and users.
This new feature, currently in public preview, helps you understand the sources of your REST API activity and manage against your primary rate limits—giving you visibility into the timeframe, apps, and API endpoints involved.
Check out the changelog for more details and let us know what you think!
Important
Known issues
core
category of REST API endpoints and primary rate limits. API activity for search, for GitHub Actions (usingGITHUB_TOKEN
), and for secondary rate-limiting is not supported. For information about API categories, see "REST API endpoints for rate limits." To learn more about primary and secondary rate limits, see "Rate limits for the REST API."Your feedback helps us improve—let us know your thoughts, suggestions, or any issues you encountered in the comments below! Thank you for contributing to our continuous improvement! ✨
Beta Was this translation helpful? Give feedback.
All reactions