-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Perhaps it would make sense to add support for metrics on self-hosted runners using the Github Actions API? It would be possible to export gauge metrics showing the numbers of online/offline & busy/idle runners for a runner group within an organisation/enterprise.
Adding more functionality based on polling comes with the increased potential of hitting API rate limits. The minimum Github App limits (5000 per hour) this works out at about ~80 requests per minute which is probably sufficient for most use cases. If it became an issue we could
- Providing configurable polling frequency
- Conditional HTTP requests (
If-None-Match) - Exporting Github rate limit usage (maybe useful anyway!)
Docs:
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request