-
Notifications
You must be signed in to change notification settings - Fork 679
Add support for extended range selector modifiers smoothed & anchored #13398
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
Open
tcp13equals2
wants to merge
41
commits into
main
Choose a base branch
from
support_anchored_smoothed_selectors
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 21 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
9b4bf10
Adding support for anchored and smoothed range selectors
tcp13equals2 4bc430c
Update CHANGELOG.md
tcp13equals2 60909cd
Fix upstream tests file
tcp13equals2 3f66e89
Update extended_vectors.test
tcp13equals2 3dd1f0e
Update data.go
tcp13equals2 1c7b40c
Re-use the view
tcp13equals2 9871e70
Merge remote-tracking branch 'origin/main' into support_anchored_smoo…
tcp13equals2 61ca856
Update anchored.test
tcp13equals2 3fa4ea4
Fix tests
tcp13equals2 44b9386
Update astmapper.go
tcp13equals2 7c49f22
Address PR feedback
tcp13equals2 0b32e52
Merge branch 'main' into support_anchored_smoothed_selectors
tcp13equals2 770065d
Update smoothed.test
tcp13equals2 e8f0546
Merge branch 'support_anchored_smoothed_selectors' of https://github.…
tcp13equals2 0bf73de
Update extend_range_vector.go
tcp13equals2 9b48285
Merge branch 'main' into support_anchored_smoothed_selectors
tcp13equals2 6ffb7ed
Address PR feedback and add new CLI arg for enabling extended range s…
tcp13equals2 8599e17
Update extended_vectors.test
tcp13equals2 2eb8e88
Cursor tips
tcp13equals2 ae3b216
Update engine_test.go
tcp13equals2 aff095a
Feedback
tcp13equals2 c3cfc54
Updated cli help
tcp13equals2 69c0579
TestConfigDescriptorIsUpToDate
tcp13equals2 4f39452
Update rate_increase.go
tcp13equals2 6889720
Merge branch 'main' into support_anchored_smoothed_selectors
tcp13equals2 df203a4
Merge branch 'main' into support_anchored_smoothed_selectors
tcp13equals2 301b080
Address feedback
tcp13equals2 32a386d
Address PR comments
tcp13equals2 21c2c68
Merge branch 'main' into support_anchored_smoothed_selectors
tcp13equals2 aab7240
Rename
tcp13equals2 70f54a8
PR feedback
tcp13equals2 203ca26
Merge branch 'main' into support_anchored_smoothed_selectors
tcp13equals2 c9fc390
Merge branch 'main' into support_anchored_smoothed_selectors
tcp13equals2 e30860b
Adding benchmarks
tcp13equals2 a255009
PR comments
tcp13equals2 9af05b7
WIP
tcp13equals2 ded6eb2
Update range_vector_selector.go
tcp13equals2 e9ec612
Update CHANGELOG.md
tcp13equals2 b3661bf
Update cmd/mimir/help-all.txt.tmpl
tcp13equals2 59b9c3a
Update fpoint_ring_buffer.go
tcp13equals2 5678662
Merge branch 'support_anchored_smoothed_selectors' of https://github.…
tcp13equals2 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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -28,6 +28,7 @@ | |||||
| * [FEATURE] Query-frontends: Automatically adjust features used in query plans generated for remote execution based on what the available queriers support. #13017 #13164 | ||||||
| * [FEATURE] Memberlist: Add experimental support for zone-aware routing, in order to reduce memberlist cross-AZ data transfer. #13129 | ||||||
| * [FEATURE] Query-frontend and querier: Add experimental support for performing query planning in query-frontends and distributing portions of the plan to queriers for execution. #13058 | ||||||
| * [FEATURE] MQE: Add support for experimental extended range selector modifiers `smoothed` and `anchored`. These can be enabled with `-query-frontend.enabled-promql-extended-range-selectors=smoothed,anchored` #13398 | ||||||
| * [FEATURE] Querier: Add `querier.mimir-query-engine.enable-reduce-matchers` flag that enables a new MQE AST optimization pass that eliminates duplicate or redundant matchers that are part of selector expressions. #13178 | ||||||
| * [ENHANCEMENT] Compactor, Store-gateway: Change default value of `-compactor.upload-sparse-index-headers` to `true`. This improves lazy loading performance in the store-gateway. #13089 | ||||||
| * [ENHANCEMENT] Store-gateway: Verify CRC32 checksums for 1 out of every 128 chunks read from object storage and the chunks cache to detect corruption. #13151 | ||||||
|
|
@@ -55,6 +56,7 @@ | |||||
| * `-ruler-storage.gcs.max-retries` | ||||||
| * [ENHANCEMENT] Usage-tracker: Improve first snapshot loading & rehash speed. #13284 | ||||||
| * [ENHANCEMENT] Ruler: Implemented `OperatorControllableErrorClassifier` for rule evaluation, allowing differentiation between operator-controllable errors (e.g., storage failures, 5xx errors, rate limiting) and user-controllable errors (e.g., bad queries, validation errors, 4xx errors). This change affects the rule evaluation failure metric `prometheus_rule_evaluation_failures_total`, which now includes a `reason` label with values `operator` or `user` to distinguish between them. #13313 | ||||||
| * [ENHANCEMENT] Query-frontend: Limits middleware will record different error messages when experimental functions, aggregations, or extended range selector modifiers are used but not enabled for a tenant. #13398 | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Middleware is an implementation detail:
Suggested change
|
||||||
| * [BUGFIX] Compactor: Fix potential concurrent map writes. #13053 | ||||||
| * [BUGFIX] Query-frontend: Fix issue where queries sometimes fail with `failed to receive query result stream message: rpc error: code = Canceled desc = context canceled` if remote execution is enabled. #13084 | ||||||
| * [BUGFIX] Query-frontend: Fix issue where query stats, such as series read, did not include the parameters to the `histogram_quantile` and `histogram_fraction` functions if remote execution was enabled. #13084 | ||||||
|
|
||||||
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
tcp13equals2 marked this conversation as resolved.
Show resolved
Hide resolved
|
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.
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.