Skip to content

feat(precompute): apply spatial filters during ingest routing - #724

Merged
milindsrivastava1997 merged 5 commits into
mainfrom
investigate-precompute-routing
Sep 9, 2026
Merged

feat(precompute): apply spatial filters during ingest routing#724
milindsrivastava1997 merged 5 commits into
mainfrom
investigate-precompute-routing

Conversation

@milindsrivastava1997

Copy link
Copy Markdown
Contributor

Summary

  • Compile PromQL spatial filters at precompute startup and runtime config updates.
  • Route samples only when both the metric and spatial filter match.
  • Reject invalid filters and name matchers before ingest begins.

Tests

  • cargo test -p query_engine_rust precompute_engine
  • cargo test -p query_engine_rust --test e2e_precompute_equivalence
  • cargo test -p query_engine_rust --test e2e_netflow_single_second
  • cargo test -p query_engine_rust --test e2e_precompute_wall_clock_fallback_active_ingest

@milindsrivastava1997
milindsrivastava1997 marked this pull request as ready for review September 9, 2026 00:02
@milindsrivastava1997
milindsrivastava1997 merged commit 741ddec into main Sep 9, 2026
8 checks passed
@milindsrivastava1997
milindsrivastava1997 deleted the investigate-precompute-routing branch September 9, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant