Skip to main content

native_promql_requested

Function native_promql_requested 

Source
pub(crate) fn native_promql_requested(query_ctx: &QueryContextRef) -> bool
Expand description

Whether the query options of one query ask for the native fused-series route.

Read from the query options snapshot the query is planned with, so a per-request value and a session SET arrive here alike, already normalized: this compares literally (true in any case) rather than parsing again, because a value that is not a boolean never reaches the snapshot.