Skip to content

Navigation Menu

Sign in
Sign up

Production KLL, HLL, Count-Min, and CountSketch queries return No result #491

Open
Labels
area: data planeRuntime ingestion, storage, and query-serving data paths area: query enginePromQL lowering, execution, result shaping, and fallback behavior area: summary executionWarm-summary binding, readout, composition, and result decoding bugSomething isn't working feature: sketch algorithmsSketch-family configuration, lifecycle, merge, and readout behavior feature: warm summariesASAP warm-tier materialization, readiness, and serving test: end-to-endProcess-boundary, differential, conformance, and full-stack tests

Description

Context

#478 made the all-sketch whole-path matrix strict and removed ignored coverage. These scenarios successfully plan a workload, install the streaming configuration, ingest a modified-OTLP sketch, and reach the public query endpoint, but the warm query path returns:

{
 "status": "error",
 "error": "No result for query",
 "infos": ["data_source: asap_query"]
}

Affected scenarios:

  • KLL instant: quantile_over_time(0.5, request_size_bytes[10s])
  • HLL instant: count(unique_users_per_min)
  • Count-Min Sketch instant: count_over_time(endpoint_request_freq[10s])
  • Count-Min Sketch range: the same query through /api/v1/query_range

This is distinct from the typed-binding failures filed in ASAPPlanner and from the HLL cumulative multi-SID classification tracked by #431. Exact Prometheus range-step semantics are tracked separately by #487.

Reproduction

./scripts/e2e.sh whole-matrix

Relevant tests in data_plane/tests/e2e_controller_plans_and_backend_serves.rs:

  • controller_plan_to_query_full_roundtrip_kll
  • controller_plan_to_query_full_roundtrip_hll
  • controller_plan_to_query_full_roundtrip_count_min_sketch
  • controller_plan_to_range_query_count_over_time_cms

Triage needed

For each family, record and verify:

  1. emitted aggregation type and parameters;
  2. derived policy fingerprint;
  3. minted SID and family;
  4. candidate/capability resolution;
  5. windows returned by SketchStore::query_range;
  6. SummaryExecutor readout selection and decode result.

The current top-level No result response does not identify which stage dropped the candidate/data.

Done when

All four scenarios return a non-empty ASAP-local result with correct labels, result shape, and family-specific oracle assertions. If they have separate root causes, split this issue after the first-stage diagnostic identifies them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: data planeRuntime ingestion, storage, and query-serving data paths area: query enginePromQL lowering, execution, result shaping, and fallback behavior area: summary executionWarm-summary binding, readout, composition, and result decoding bugSomething isn't working feature: sketch algorithmsSketch-family configuration, lifecycle, merge, and readout behavior feature: warm summariesASAP warm-tier materialization, readiness, and serving test: end-to-endProcess-boundary, differential, conformance, and full-stack tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /