-
Notifications
You must be signed in to change notification settings - Fork 804
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
Distributor limits #4071
Distributor limits #4071
Conversation
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
181a6dd
to
d9e543f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - clear to understand.
Co-authored-by: Steve Simpson <steve.simpson@grafana.com> Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
125b3d3
to
c664a5c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job @pstibrany and thanks for working on distributor limits! I left few comments, overall LGTM!
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
Thank you for reviews! I've addressed your feedback, please take a look again. |
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good job! LGTM (modulo the CHANGELOG fix). Thanks!
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
What this PR does: This PR introduces two new limits for distributor: max ingestion rate (samples/sec) that distributor can accept, and max number of inflight requests. When these limits are reached, distributor returns error which is translated into 5xx.
In addition to limits, new metrics are introduced. These expose current values as well as limits.
This PR builts on top of #4070, and will be rebased after #4070 is merged.Done.Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]