-
Notifications
You must be signed in to change notification settings - Fork 545
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
distributor: do inflight checks before reading request (for httpgrpc …
…requests) (#6300) * Allow performing inflight checks before push handler starts. Signed-off-by: Peter Štibraný <[email protected]> * Add check for ingestion rate. Signed-off-by: Peter Štibraný <[email protected]> * distributor: when using httpgrpc check inflight limits before reading requests. Signed-off-by: Peter Štibraný <[email protected]> * CHANGELOG.md entry. Signed-off-by: Peter Štibraný <[email protected]> * Use suffix check. Signed-off-by: Peter Štibraný <[email protected]> * Don't return gRPC errors from Distributor. Signed-off-by: Peter Štibraný <[email protected]> * Call cleanupAfterPushFinished from defer. Signed-off-by: Peter Štibraný <[email protected]> * Separate httpgrpcRequestSize and writeRequestSize. Signed-off-by: Peter Štibraný <[email protected]> * Mention new flags in docs/sources/mimir/configure/about-versioning.md. Signed-off-by: Peter Štibraný <[email protected]> * Extract message size only when handling distributor push request. Use prefix in tests. Signed-off-by: Peter Štibraný <[email protected]> * Update comment for startPushRequest, mention wrapping to util_log.DoNotLogError. Signed-off-by: Peter Štibraný <[email protected]> * Fix linter unhappiness. Signed-off-by: Peter Štibraný <[email protected]> --------- Signed-off-by: Peter Štibraný <[email protected]>
- Loading branch information
Showing
11 changed files
with
586 additions
and
57 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
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.