Actions Usage Metrics is generally available #132817
-
Actions Usage Metrics is now generally available for all GitHub Enterprise Cloud customers. Actions Usage Metrics enables you to view data about your Actions workflow runs throughout your organization. You can use this data to identify opportunities to optimize your pipelines and reduce wasted runtime minutes which, when addressed, can lead to faster runs and increased developer productivity. Actions Usage Metrics breaks down the utilization of workflows, jobs, source repositories, and operating systems for GitHub hosted runners and self-hosted runners. All of this data is available in the UI and can be exported and shared as a .csv file if you wish to integrate your usage data with internal or third party tools. |
Beta Was this translation helpful? Give feedback.
Replies: 15 comments 22 replies
-
Are there new API endpoints to get this data? I have a GH CLI extension for actions usage and the available information via API is pretty limited at the moment. ;) |
Beta Was this translation helpful? Give feedback.
-
It seems that the data is nor consistent. |
Beta Was this translation helpful? Give feedback.
-
This would be very useful information to have access to via the API. Would be very interested to hear if this is something planned. |
Beta Was this translation helpful? Give feedback.
-
Now make it available for non-enterprise customers. |
Beta Was this translation helpful? Give feedback.
-
Is there a summary report across all enterprise orgs, or are we going to have to assemble that manually. We have 40'ish orgs that are used across our enterprise, and it would be nice to have all this data in one place for back-billing charges to the departments. |
Beta Was this translation helpful? Give feedback.
-
This is a great addition. +1 to previous comments on API support and enterprise-level visibility. Are there plans to break this down further and show invocations of shared workflows and actions? It'd be great to know how often reusable components are being consumed. Additionally, for the runners, it'd be good to know which labels are being invoked so we can distinguish between the different self hosted runners that users are referencing in our enterprise. |
Beta Was this translation helpful? Give feedback.
-
So sad this is only available for Enterprise tier, insights for actions are really missing compared to other cloud runners on the market |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, As GitHub Enterprise Cloud customers, we're currently trying to pull usage data for GitHub Actions. I understand that the API currently does not support this functionality. Our current method involves manually downloading reports from the UI, which is not ideal for our needs. We're looking for a more automated and streamlined approach. Does anyone know of an alternative way to extract this data, perhaps through a third-party tool such as Splunk or similar? Any guidance or suggestions you could provide would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
-
Any plans to support Github Enterprise Server? |
Beta Was this translation helpful? Give feedback.
-
The Metrics feature is great. We are looking for using it at Enterprise too. Would be really helpful. Thanks |
Beta Was this translation helpful? Give feedback.
-
Are the total minutes adjusted for the minute multiplier or are these the raw numbers? |
Beta Was this translation helpful? Give feedback.
-
Hello Everyone, I wanted to share my experience here and I am looking for some help. About two months ago I implemented data collection mechanism for GitHub Actions usage using Python. I intentionally do not want to go into too much details, but on a high level the algorithm looks like this: 1st step: since we are Enterprise and have multiple Orgs, I am first getting the list of all Orgs in the Enterprise. 2nd step: for every Org in the Enterprise, I am getting a complete list of Repos residing under the Org:
3rd step: for every Repo under the Org, I am getting the list of all Workflows:
4th step: for every Workflow in the Repo, I am getting the list of all Workflow runs on or after the certain date:
5th step: For every Workflow run I am getting usage metrics:
This code is implemented as a Google Cloud Function and runs every day, capturing the previous day activity. I have run into some problems though.
Questions:
Any help or advice would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
-
Do you have any plans to fix current issues with GitHub actions? Are you just in add new feature mode now while the product is severely lacking on several other areas?
Would be great to see actual issues fixed but really cool metrics.... thanks. |
Beta Was this translation helpful? Give feedback.
-
A huge thank you to everyone who joined in on this discussion and shared your thoughts! Your feedback has been amazing, and we truly appreciate the time you’ve taken to contribute. With Actions Performance Metrics now in Public Preview we’re going to close this thread so we can focus on a new conversation that dives into the latest updates. If you’d like to keep the conversation going (and we hope you do!), please jump over to the new thread and add your thoughts there. 👋 |
Beta Was this translation helpful? Give feedback.
-
I am interested at looking at the 'called' workflow usage so that we can measure reuse of our reusable actions and workflows. Right now I cannot see a way of doing this; the caller workflows and actions are displayed. Example: a ci.yml workflow in a given repository calls:
As the owner of the 3 called workflows I am interested in usage of them, however they are hidden in the GitHub Actions Org Insights because they only show the usage of ci.yml for that given run. |
Beta Was this translation helpful? Give feedback.
A huge thank you to everyone who joined in on this discussion and shared your thoughts! Your feedback has been amazing, and we truly appreciate the time you’ve taken to contribute.
With Actions Performance Metrics now in Public Preview we’re going to close this thread so we can focus on a new conversation that dives into the latest updates. If you’d like to keep the conversation going (and we hope you do!), please jump over to the new thread and add your thoughts there. 👋