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

Metrica: retry query if quota exceeded #5628

Closed
wants to merge 4 commits into from

Conversation

denisov-vlad
Copy link
Member

What type of PR is this? (check all applicable)

  • Feature

Description

Metrica has a limit for simultaneous queries. If you have dashboard with 5+ different queries there is always errors. I use backoff library to retry queries if it fails with 429 (quota exceeded) error.

@denisov-vlad
Copy link
Member Author

@getredash/mergers hi! could you check this request please?

@justinclift
Copy link
Member

@denisov-vlad Would you be ok to resolve the merge conflict? 😄

backoff==1.11.1
# Install the dependencies of the bin/bundle-extensions script here.
# It has its own requirements file to simplify the frontend client build process
-r requirements_bundles.txt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be causing an error:

ERROR: Could not open requirements file: [Errno 2] No such file or directory:
'requirements_bundles.txt'

@denisov-vlad
Copy link
Member Author

Oops, something went wrong with this PR. I will recreate without these errors.

@justinclift
Copy link
Member

No worries. 😄

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.

2 participants