-
Notifications
You must be signed in to change notification settings - Fork 0
feat(asapquery-profile): cover the complete ASAPQuery PromQL acceleration matrix #501
Copy link
Copy link
Open
Labels
area: control planePlanning, configuration, routing, and control-plane orchestrationPlanning, configuration, routing, and control-plane orchestrationarea: data planeRuntime ingestion, storage, and query-serving data pathsRuntime ingestion, storage, and query-serving data pathsarea: physical compilerCompilation from selected logical plans to executable backend and Collector plansCompilation from selected logical plans to executable backend and Collector plansarea: query enginePromQL lowering, execution, result shaping, and fallback behaviorPromQL lowering, execution, result shaping, and fallback behaviorarea: summary executionWarm-summary binding, readout, composition, and result decodingWarm-summary binding, readout, composition, and result decodingenhancementNew feature or requestNew feature or requestfeature: PromQLPromQL compatibility and execution semanticsPromQL compatibility and execution semanticsfeature: Top-KTop-K planning, heap materialization, ranking, and labelsTop-K planning, heap materialization, ranking, and labelsfeature: range evaluationRange-query steps, windows, timestamps, and temporal evaluationRange-query steps, windows, timestamps, and temporal evaluationfeature: sketch algorithmsSketch-family configuration, lifecycle, merge, and readout behaviorSketch-family configuration, lifecycle, merge, and readout behaviorfeature: warm summariesASAP warm-tier materialization, readiness, and servingASAP warm-tier materialization, readiness, and servingfeature: workload optimizationCross-query sharing, costing, placement, and physical configuration selectionCross-query sharing, costing, placement, and physical configuration selectionintegration: ASAPPlannerASAPPlanner API, IR, candidate, and selected-plan integrationASAPPlanner API, IR, candidate, and selected-plan integrationmeta: trackingUmbrella issue coordinating multiple implementation gapsUmbrella issue coordinating multiple implementation gapsquality: accuracyExact and approximate accuracy contracts, error bounds, and routingExact and approximate accuracy contracts, error bounds, and routingtest: end-to-endProcess-boundary, differential, conformance, and full-stack testsProcess-boundary, differential, conformance, and full-stack tests
Description
Activity
Metadata
Metadata
Assignees
Labels
area: control planePlanning, configuration, routing, and control-plane orchestrationPlanning, configuration, routing, and control-plane orchestrationarea: data planeRuntime ingestion, storage, and query-serving data pathsRuntime ingestion, storage, and query-serving data pathsarea: physical compilerCompilation from selected logical plans to executable backend and Collector plansCompilation from selected logical plans to executable backend and Collector plansarea: query enginePromQL lowering, execution, result shaping, and fallback behaviorPromQL lowering, execution, result shaping, and fallback behaviorarea: summary executionWarm-summary binding, readout, composition, and result decodingWarm-summary binding, readout, composition, and result decodingenhancementNew feature or requestNew feature or requestfeature: PromQLPromQL compatibility and execution semanticsPromQL compatibility and execution semanticsfeature: Top-KTop-K planning, heap materialization, ranking, and labelsTop-K planning, heap materialization, ranking, and labelsfeature: range evaluationRange-query steps, windows, timestamps, and temporal evaluationRange-query steps, windows, timestamps, and temporal evaluationfeature: sketch algorithmsSketch-family configuration, lifecycle, merge, and readout behaviorSketch-family configuration, lifecycle, merge, and readout behaviorfeature: warm summariesASAP warm-tier materialization, readiness, and servingASAP warm-tier materialization, readiness, and servingfeature: workload optimizationCross-query sharing, costing, placement, and physical configuration selectionCross-query sharing, costing, placement, and physical configuration selectionintegration: ASAPPlannerASAPPlanner API, IR, candidate, and selected-plan integrationASAPPlanner API, IR, candidate, and selected-plan integrationmeta: trackingUmbrella issue coordinating multiple implementation gapsUmbrella issue coordinating multiple implementation gapsquality: accuracyExact and approximate accuracy contracts, error bounds, and routingExact and approximate accuracy contracts, error bounds, and routingtest: end-to-endProcess-boundary, differential, conformance, and full-stack testsProcess-boundary, differential, conformance, and full-stack tests
Summary
Raise the backend-local
asapqueryprofile from its four-case MVP matrix to the complete accelerated PromQL surface documented and tested by current ASAPQuery.Current gap
The backend profile's executable matrix currently proves only
rate,increase,sum_over_time, andquantile_over_timefor instant/range queries. ASAPQuery additionally accelerates:count_over_time,avg_over_time,min_over_time,max_over_time;sum,count,avg,min,max,quantile, andtopk, with optionalby(...);sum(sum_over_time),sum(count_over_time),min(min_over_time),max(max_over_time),topk(sum_over_time), andtopk(count_over_time);+ - * / ^ %, including scalar/vector arms;ASAPQuery's README intentionally excludes label selectors from this accelerated profile, and vector-matching modifiers are explicitly out of scope in its arithmetic design; those are not requested here.
Scope
Acceptance criteria
/api/v1/queryand/api/v1/query_range, comparing against Prometheus and assertingdata_source: warm.