self-actuated / actions-usage

Find your total usage on GitHub Actions

Home Page:https://blog.alexellis.io/github-actions-usage-build-minutes/

Repository from Github https://github.comself-actuated/actions-usageRepository from Github https://github.comself-actuated/actions-usage

Handle rate limit

prein opened this issue · comments

Did you consider handling GH API rate limits with exponential backoff?
Alternative idea: run the tool on schedule and collect data in chunks and combine later. Or collect data incrementally. Makes sense?

Hi @prein

The current solution if you're running into rate limits is to run on a shorter time-frame, or to filter out misc repos.

What's the maximum you've been able to run with? 7 days?

Full historical data is available for actuated customers stored in a performant database, with insights added.

https://docs.actuated.dev/dashboard/

Hi @alexellis and thanks for reply. The max I can do for all repos is 1d, I can do 7d for the most busy repo.