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 write rate limit to mimir-continuous-test #1706

Merged
merged 2 commits into from
Apr 15, 2022

Conversation

pracucci
Copy link
Collaborator

What this PR does

At start, mimir-continuous-test tool catch up writes from last written samples (if it's not older than 50m ago). When doing this catch up, we may hit the ingestion rate limit on Mimir side (depends on the actual limits set). The testing tool already handles the case the write fails with a 4xx error, but it would be better to avoid it if possible. In this PR I'm introducing a simple write rate limit to reduce the likelihood we hit the rate limit on Mimir side.

Which issue(s) this PR fixes or relates to

N/A

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Copy link
Contributor

@aknuds1 aknuds1 left a comment

Choose a reason for hiding this comment

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

LGTM

@pracucci pracucci enabled auto-merge (squash) April 15, 2022 12:43
@pracucci pracucci merged commit fef2ffe into main Apr 15, 2022
@pracucci pracucci deleted the add-throttling-to-continuous-test-writes branch April 15, 2022 12:53
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