-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Receive: Allow remote write request limits to be defined per file and…
… tenant (#5565) * Allow per-tenant limits to be configured via file Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Refactor Receive's limiting logic Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Fix some methods that were in plural Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Improve metric description Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Add a TODO for later Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Do some cleanup after moving limits to config file Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Isolate rest of limiting logic from the handler Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Small refactor to the request limiter Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Rename MergeWith -> OverlayWith Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Update changelog Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Update documentation Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Add missing copyright notice to few files Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Fix test after change in config file tenants Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Retrigger CI because of bundled-Cortex failing test Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Expose default limits as metrics Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Retrigger CI Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Replace comment with a TODOs Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> * Fix changelog after bad merge Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> Signed-off-by: GitHub <noreply@github.com>
- Loading branch information
1 parent
d39cb4b
commit b8eb3d8
Showing
11 changed files
with
583 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.