Skip to content

Add capability based matching to asap-query-engine instead of matching incoming queries against pre-configured queries in inference_config #258

@milindsrivastava1997

Description

@milindsrivastava1997

The query engine previously routed every incoming query to a sketch aggregation by matching the
query string against a pre-configured query_configs table in InferenceConfig. This meant:

  • Every distinct query string needed its own config entry, even when the same sketch could answer
    multiple queries (e.g. quantile(0.5, metric[5m]) and quantile(0.9, metric[5m]) both need a
    KLL sketch, but each required a separate config row).
  • The system could not answer any query it had not been explicitly pre-configured for.

The goal: let the engine understand what a query needs and find an existing aggregation that can
provide it, without requiring a one-to-one mapping in config.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions