Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
9b4bf10
Adding support for anchored and smoothed range selectors
tcp13equals2 Nov 7, 2025
4bc430c
Update CHANGELOG.md
tcp13equals2 Nov 7, 2025
60909cd
Fix upstream tests file
tcp13equals2 Nov 7, 2025
3f66e89
Update extended_vectors.test
tcp13equals2 Nov 7, 2025
3dd1f0e
Update data.go
tcp13equals2 Nov 7, 2025
1c7b40c
Re-use the view
tcp13equals2 Nov 7, 2025
9871e70
Merge remote-tracking branch 'origin/main' into support_anchored_smoo…
tcp13equals2 Nov 7, 2025
61ca856
Update anchored.test
tcp13equals2 Nov 7, 2025
3fa4ea4
Fix tests
tcp13equals2 Nov 7, 2025
44b9386
Update astmapper.go
tcp13equals2 Nov 7, 2025
7c49f22
Address PR feedback
tcp13equals2 Nov 10, 2025
0b32e52
Merge branch 'main' into support_anchored_smoothed_selectors
tcp13equals2 Nov 10, 2025
770065d
Update smoothed.test
tcp13equals2 Nov 10, 2025
e8f0546
Merge branch 'support_anchored_smoothed_selectors' of https://github.…
tcp13equals2 Nov 10, 2025
0bf73de
Update extend_range_vector.go
tcp13equals2 Nov 10, 2025
9b48285
Merge branch 'main' into support_anchored_smoothed_selectors
tcp13equals2 Nov 11, 2025
6ffb7ed
Address PR feedback and add new CLI arg for enabling extended range s…
tcp13equals2 Nov 11, 2025
8599e17
Update extended_vectors.test
tcp13equals2 Nov 11, 2025
2eb8e88
Cursor tips
tcp13equals2 Nov 11, 2025
ae3b216
Update engine_test.go
tcp13equals2 Nov 11, 2025
aff095a
Feedback
tcp13equals2 Nov 11, 2025
c3cfc54
Updated cli help
tcp13equals2 Nov 11, 2025
69c0579
TestConfigDescriptorIsUpToDate
tcp13equals2 Nov 11, 2025
4f39452
Update rate_increase.go
tcp13equals2 Nov 11, 2025
6889720
Merge branch 'main' into support_anchored_smoothed_selectors
tcp13equals2 Nov 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,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`. #13398
* [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
* [ENHANCEMENT] Ingester: the per-tenant postings for matchers cache is now stable. Use the following configuration options: #13101
Expand Down
3 changes: 3 additions & 0 deletions pkg/frontend/querymiddleware/roundtrip.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@ func newQueryTripperware(
// This enables duration arithmetic https://github.com/prometheus/prometheus/pull/16249.
parser.ExperimentalDurationExpr = true

// This enables the anchored and smoothed selector modifiers
parser.EnableExtendedRangeSelectors = true

var c cache.Cache
if cfg.CacheResults || cfg.cardinalityBasedShardingEnabled() {
var err error
Expand Down
3 changes: 3 additions & 0 deletions pkg/querier/querier.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ func New(cfg Config, limits *validation.Overrides, distributor Distributor, quer
// This enables duration arithmetic https://github.com/prometheus/prometheus/pull/16249.
parser.ExperimentalDurationExpr = true

// This enables the anchored and smoothed selector modifiers
parser.EnableExtendedRangeSelectors = true

var eng promql.QueryEngine
var streamingEngine *streamingpromql.Engine

Expand Down
Loading