Skip to main content

NATIVE_PROMQL_EXTENSION_KEY

Constant NATIVE_PROMQL_EXTENSION_KEY 

Source
pub const NATIVE_PROMQL_EXTENSION_KEY: &str = "query.experimental_native_promql";
Expand description

The query option that turns the native fused-series route on for one query.

Named after the engine-wide option it mirrors (QueryOptions::experimental_native_promql), it is a query option like the others in this crate: a client states it per request (the HTTP hints header, a gRPC context key) or per session (SET query.experimental_native_promql = ...), and the engine-wide option is the default. The three resolve in that order where the query options snapshot is applied, and the planner reads the resulting NativePromqlExtension rather than this key.