You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Query engine cannot distinguish occurrences of the same query string with different requirements #778
The same PromQL leaf query string can show up more than once in a workload, each time with different requirements. For example:
It is issued at different intervals (different repetition_delay_ms).
It runs on its own in one place and as a sub-expression of a larger query in another.
The occurrences have different accuracy_sla / latency_sla.
The planner can treat these as separate items with separate requirements; since #776, the optimizer key includes t_repeat_ms and both SLAs. That can lead to more than one deployed sketch backing the same query string.
The query engine has no way to tell these occurrences apart when a query arrives. It looks up the QueryConfig by query string alone and uses the first match:
Activity