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

Use exponential backoff on ratelimits with datadog provider #2578

Open
kaldorn opened this issue Feb 9, 2023 · 2 comments · May be fixed by #2580
Open

Use exponential backoff on ratelimits with datadog provider #2578

kaldorn opened this issue Feb 9, 2023 · 2 comments · May be fixed by #2580
Labels
enhancement New feature or request no-issue-activity

Comments

@kaldorn
Copy link

kaldorn commented Feb 9, 2023

Summary

When running multiple analysis with the datadog provider it's possible to hit rate limits with the v1/query API. These limits are returned in the headers on requests -- what we did to mitigate this was to increase the rate limit with datadog directly -- but it'd also be good to automatically retry on status code 429 with exponential backoff.

Somewhat related issue: #2549

Use Cases

When using Datadog as a metric source for AnalysisTemplates.


Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

@github-actions
Copy link
Contributor

This issue is stale because it has been open 60 days with no activity.

@NaurisSadovskis
Copy link
Contributor

We're having the issues when using V2 API too, so this is definitely still a problem which DataDog V2 API has not solved:

│         received non 2xx response code: 429

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request no-issue-activity
Projects
None yet
2 participants