github-exporter icon indicating copy to clipboard operation
github-exporter copied to clipboard

Error when rate limiting isn't enabled

Open herter4171-kp opened this issue 11 months ago • 1 comments

We are trying to use the GitHub exporter on our GitHub Enterprise server, and we don't have rate limiting enabled and don't wish to enable it. We get the following error.

Error gathering Rates from remote API: Rate Limiting not enabled in GitHub API  

Is there a way around this?

herter4171-kp avatar Feb 04 '25 22:02 herter4171-kp

Assigning the environment variable GITHUB_RATE_LIMIT also has no impact.

herter4171-kp avatar Feb 04 '25 22:02 herter4171-kp

Hi @herter4171-kp, you should now be able to disable collection of rate limit metrics via the GITHUB_RATE_LIMIT_ENABLED flag in v2.0.0

henrymcconville avatar Oct 20 '25 14:10 henrymcconville