-
Notifications
You must be signed in to change notification settings - Fork 820
Query priority #5605
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
Merged
yeya24
merged 49 commits into
cortexproject:master
from
justinjung04:scheduler-improvement
Nov 30, 2023
Merged
Query priority #5605
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
52d520b
Separate user queue channel into two - normalQueue and highPriorityQueue
justinjung04 646853a
Add ReservedHighPriorityQueriers
justinjung04 39639c4
Change default priority for all requests to low
justinjung04 38945ac
Update config description
justinjung04 d0f7e74
Lint
justinjung04 fec4a90
Fix test
justinjung04 ad046d0
More test fix
justinjung04 a88ad90
Add HighPriorityQueries confing + placeholder for IsHighPriorityQuery…
justinjung04 b050ac1
Nit
justinjung04 f767614
Lint
justinjung04 de06e37
Implement IsPriorityQuery
justinjung04 8b31b1c
Add changelog
justinjung04 d28aa33
Pass timestamp as param
justinjung04 daf269b
Parse form so that range query parameters are passed to the roundtrip
justinjung04 3b603ba
Address comments
justinjung04 393d9f0
Add CompiledRegex to HighPriorityQuery
justinjung04 ebc2c1e
Introduce numbered priority + change config structure
justinjung04 07723ce
Lint
justinjung04 488921c
Updated docs
justinjung04 d8b9799
Skip regex compile if it is match all
justinjung04 e6b9348
Updated GetPriority to handle new config structure
justinjung04 5eb2d73
Add priority queue to user queue
justinjung04 f064b3a
Nits + priority queue test added
justinjung04 e41e4c1
Create user request queue test
justinjung04 ca2cd1c
Add reserved querier logic
justinjung04 067cc83
Fix tests
justinjung04 e1b996f
Add priority label to request and queue metrics
justinjung04 2f7947c
Fix tests
justinjung04 f9df453
Fix tests
justinjung04 a510f77
Refactor
justinjung04 717d746
Add more tests
justinjung04 f3a9772
Lint
justinjung04 87c9a0e
Update doc
justinjung04 506d5c2
Improve time comparison when assigning priority
justinjung04 c0f268d
Make reserved querier to match exact priority + change query length g…
justinjung04 0b98773
Bug fix
justinjung04 3fffc3f
Add comments
justinjung04 2abeffb
Address comments
justinjung04 ab4b9c7
Make reserved querier to handle priorities higher or equal
justinjung04 8086aee
Add benchmark tests
justinjung04 584c6f9
Update regex to be compiled upon unmarshal
justinjung04 4001fe4
Make start and end time check to be skipped if not specified
justinjung04 aa38a8c
Assign priority before splitting the query
justinjung04 6c1813b
Attempt to fix tests
justinjung04 cdd2a0c
Address comments
justinjung04 3f347e4
Minor improvements
justinjung04 3ee0b0d
Rename query start end time
justinjung04 c0252f1
Improve tests
justinjung04 b6eb74d
Nit
justinjung04 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.