-
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
Feature/querysharding ii #1927
Merged
Merged
Feature/querysharding ii #1927
Changes from 65 commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
f00ec35
[wip] sharding evaluator/ast
owen-d 406ce2b
[wip] continues experimenting with ast mapping
owen-d d58aad6
refactoring in preparation for binops
owen-d a2dca17
evaluators can pass state to other evaluators
owen-d 161016c
compiler alignment
owen-d f6f47f7
Evaluator method renamed to StepEvaluator
owen-d 3147f1e
chained evaluator impl
owen-d 66efd8c
tidying up sharding code
owen-d 738dd17
handling for ConcatSampleExpr
owen-d 16d7016
downstream iterator
owen-d 67385fc
structure for downstreaming asts
owen-d 1271dfc
outlines sharding optimizations
owen-d 84fe72c
work on sharding mapper
owen-d 1c0d630
ast sharding optimizations
owen-d 654618f
test for different logrange positions
owen-d 0f67155
shard mapper tests
owen-d 648cd4c
stronger ast sharding & tests
owen-d 101ef57
shardmapper tests for string->string
owen-d 55d41b9
removes sharding evaluator code
owen-d 3bf5df1
removes unused ctx arg
owen-d 951f035
Revert "removes sharding evaluator code"
owen-d 47ac2a4
interfaces for downstreaming, type conversions
owen-d 7498d6f
sharding plumbing on frontend
owen-d 4a76119
Merge remote-tracking branch 'upstream/master' into feature/queryshar…
owen-d 170d2c7
type alignment in queryrange to downstream sharded queriers
owen-d 0240587
downstreaming support for sharding incl storage code
owen-d b1c8faf
removes chainedevaluator
owen-d 2af43ff
comment alignment
owen-d 82a0d5c
Merge remote-tracking branch 'upstream/master' into feature/queryshar…
owen-d f87553b
storage shard injection
owen-d 66b217c
speccing out testware for sharding equivalence
owen-d 7fffd35
[wip] shared engine refactor
owen-d 1dcd308
sorting streams, sharding eval fixes
owen-d 90dcc17
downstream evaluator embeds defaultevaluator
owen-d 1793dce
other pkgs adopt logql changes
owen-d 03ae942
metrics & logs use same middleware instantiation process
owen-d b43d995
wires up shardingware
owen-d 78de015
middleware per metrics/logfilter
owen-d 9b14115
Merge remote-tracking branch 'upstream/master' into feature/queryshar…
owen-d 16881d3
empty step populating StepEvaluator promql.Matrix adapter
owen-d 6219b8a
sharding metrics
owen-d 4996c3a
log/span injection into sharded engine
owen-d 4188116
sharding metrics avoids multiple instantiation
owen-d 77d09d1
downstreamhandler tracing
owen-d c0897f8
sharding parameterized libsonnet
owen-d 6629775
Merge remote-tracking branch 'upstream/master' into feature/queryshar…
owen-d 430af96
removes querier replicas
owen-d 539e432
default 32 concurrency for workers
owen-d 54334d8
jsonnet correct level override
owen-d e07c2d8
unquote true in yaml
owen-d f0361c5
Merge remote-tracking branch 'upstream/master' into feature/queryshar…
owen-d 5ae035e
lowercase error + downstreamEvaluator defaults to embedded defaultEva…
owen-d 1d6e513
makes shardRecorder private
owen-d 42438e6
logs query on failed parse
owen-d 2fa2900
refactors engine to be multi-use, minimizes logger injection, general…
owen-d 9b82ebc
basic tests for querysharding mware
owen-d e8ff7c3
[wip] concurrent evaluator
owen-d 192b018
Merge remote-tracking branch 'upstream/master' into feature/queryshar…
owen-d 2dc37ee
integrates stat propagation into sharding evaluator
owen-d 5dc90a2
splitby histogram
owen-d 76423b6
extends le bounds for bytes processed
owen-d 34b045a
byte throughput histogram buckets to 40gb
owen-d e9b6f69
chunk duration mixin
owen-d cac5f22
Merge remote-tracking branch 'upstream/master' into feature/queryshar…
owen-d 404487d
fixes merge w/ field rename
owen-d 15a7461
derives logger in sharded engine via ctx & logs some downstream evalu…
owen-d fd33919
moves sharded engine to top, adds comments
owen-d e8c9e66
logs failed merge results in stats ctx
owen-d ab3e7aa
snapshotting stats merge logic is done more effectively
owen-d 9547ec2
per query concurrency controlled via downstreamer
owen-d b13abf9
unexports decodereq
owen-d 8f3471b
queryrange testware
owen-d df85eeb
downstreamer tests
owen-d 388c547
pr requests
owen-d 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
Large diffs are not rendered by default.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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.
I see this everywhere, should we cache it into the
query
struct ? Now that we do have a query struct we could add RangeType property to it ?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.
@owen-d WDYT ?