-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Filter instant queries and shard them. #3984
Merged
owen-d
merged 29 commits into
grafana:main
from
jeschkies:karsten/instant-query-sharding
Jul 23, 2021
Merged
Changes from 14 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
916a1e7
Filter instan queries and shard them.
jeschkies 8b6bca1
Merge remote-tracking branch 'grafana/main' into karsten/instant-quer…
jeschkies 63f7aec
[WIP] Test instant query sharding
jeschkies b7a7a01
Trace casting error.
jeschkies f6a8f29
WRap LokiInstantRequest for Params interface.
jeschkies 993e398
Convert paras to request.
jeschkies d4190f6
Convert vector.
jeschkies 2dc6ae8
Use proper query time stamp.
jeschkies 4ec4aca
Assert number of calls.
jeschkies 41695f3
Convert vector to multiple samples.
jeschkies 857f0d4
Format code.
jeschkies 91cefd2
Use type switch.
jeschkies 72f5b39
Format code.
jeschkies 91c08e7
Rename Matrix to proto conversion.
jeschkies b074567
Remvoe comment on caching.
jeschkies b56c00f
Update pkg/querier/queryrange/roundtrip_test.go
jeschkies b0120e1
Remove nil middlware.
jeschkies 810a0a9
Handle LokiInstantRequest correctly.
jeschkies f640c10
Assert reponse type.
jeschkies 886bbca
Return LokiPromResponse.
jeschkies d0f0873
Verify err in tests.
jeschkies dc6fa09
Set shards.
jeschkies 768acb1
Correct result type.
jeschkies cf4a29f
Use limits middleware.
jeschkies b8e4f05
Use shars parameter in querier.
jeschkies 060ba66
Return vector.
jeschkies baf7f0b
Unify params.
jeschkies c7a15f2
Merge remote-tracking branch 'grafana/main' into karsten/instant-quer…
jeschkies 10f53b6
Change direction to FORWARD.
jeschkies 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 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.
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.
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.
nit for later: we can probably serialize a lot of these methods into an embedded struct for reuse
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.
What do you mean?