-
Notifications
You must be signed in to change notification settings - Fork 486
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Queue-based client for loki.write (#5434)
* replay from marker implemented * some comments on tailing * replay test * passins segment in write to append * simplify write to series locking * queue client * add sync to batches * using queue client * queue client closure * revert replay changes * simple queue client test * send old batches in different routine * stop draining faster if no batches left * addressing concurrency comments * single queue implementation WIP * single sendqueue close semantics * fixed queue client test * refactor client name check + comment + routing configs * interface fix * fix linter * linter fix * linter again * deleting test fiddling with internal representation * simplifying naming procedures, and stoppables * make queue client test more strict, and fix slice reset * save stoppable clients * queue client bench * removing additional param from queue client NEw * on contexts * address pr comments * better queue config capacity * underscore * fix test case with batching * fix benchmark * fixing benchmark * add docs * added changelog entry * linter fix * change default queue capacity * Apply suggestions from code review Co-authored-by: Clayton Cornell <[email protected]> --------- Co-authored-by: Clayton Cornell <[email protected]>
- Loading branch information
1 parent
08b3eee
commit 0fbd5e3
Showing
15 changed files
with
1,158 additions
and
98 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
Oops, something went wrong.