Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add quota management for GA4 API #294

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jesseocon
Copy link

Feature: add quota management for GA4 API

  • Add QuotaManager class to handle hourly quota resets
  • Add retry logic with max attempts for quota errors
  • Add error detection for GA4 quota errors
  • Wait for quota reset when limits are hit
  • Add logging for quota retries

This change helps prevent pipeline failures due to GA4 API quota limits by waiting for quota resets and retrying automatically.

- Add QuotaManager class to handle hourly quota resets
- Add retry logic with max attempts for quota errors
- Add error detection for GA4 quota errors
- Wait for quota reset when limits are hit
- Add logging for quota retries

This change helps prevent pipeline failures due to GA4 API quota limits by
waiting for quota resets and retrying automatically.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant