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

fix2640: Distributor refactoring to assert ingestion rate limits as early as possible #2703

Merged
merged 2 commits into from
Jul 27, 2023

Conversation

mghildiy
Copy link
Contributor

@mghildiy mghildiy commented Jul 26, 2023

What this PR does: Refactor distributor to ensure that rate limits are checked before other costly operations are done

Which issue(s) this PR fixes:
Fixes #2640

Checklist

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

Copy link
Member

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

nice fix! thanks.

two easy comments/changes.

CHANGELOG.md Outdated Show resolved Hide resolved
modules/distributor/distributor.go Show resolved Hide resolved
Copy link
Member

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

Nice improvement 👍

@joe-elliott
Copy link
Member

looks like we're all fighting for space in the 2.3 changelog :). If you can resolve that conflict, I will merge.

@mghildiy
Copy link
Contributor Author

looks like we're all fighting for space in the 2.3 changelog :). If you can resolve that conflict, I will merge.

Done.

@joe-elliott joe-elliott merged commit 35df974 into grafana:main Jul 27, 2023
@mghildiy mghildiy deleted the fix2640 branch July 27, 2023 12:50
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.

Distributor perf: assert ingestion rate limits as early as possible
2 participants