Skip to main content Module planner Copy item path Source at_modifier π Anchored selector planning and replay for the PromQL @ modifier. function_plans π Dedicated helper plans for PromQL functions that cannot be expressed as a
plain scalar function over the input plan: the histogram helpers, vector(),
scalar(), and absent(). island π The binary-island fast path of the PromQL planner. matching_filters π Propagation of label matchers between the operands of a PromQL binary expression. native π The native fused-series route of the PromQL planner. set_operator π Planning of the PromQL set operators (and, unless, and or). BinaryResultLabels π Result labels a vector-vector binary operation derives from its matching modifier, projected
from the operand each label belongs to. FunctionArgs π PromPlanner PromPlannerContext π ScalarFunc π Represents different types of scalar functions supported in PromQL expressions.
Each variant defines how the function should be processed and what arguments it expects. DB_COLUMN_MATCHER π DEFAULT_FIELD_COLUMN π default value column name for empty metric DEFAULT_SUBQUERY_STEP_MS π Step of a subquery without an explicit one (x[5m:]). Prometheus uses the global
evaluation interval, whose default is one minute, rather than the query step. DEFAULT_TIME_INDEX_COLUMN π FIELD_COLUMN_MATCHER π Special modifier to project field columns under multi-field mode INTERVAL_1H π Interval 1 hour in millisecond LE_COLUMN_NAME π le column for conventional histogram.MATCH_GROUP_COUNT_COLUMN π Per-match-group row count the vector matching cardinality check is built on. MAX_SCATTER_POINTS π Threshold for scatter scan mode NATIVE_PROMQL_EXTENSION_KEY The query option that turns the native fused-series route on for one query. OR_FLOAT_FIELD_PREFIX π OR_HISTOGRAM_FIELD_PREFIX π SCALAR_FUNCTION π scalar() function in PromQL.SCHEMA_COLUMN_MATCHER π Special modifier for cross schema query SPECIAL_ABSENT_FUNCTION π absent() function in PromQLSPECIAL_HISTOGRAM_FRACTION π histogram_fraction function in PromQLSPECIAL_HISTOGRAM_QUANTILE π histogram_quantile function in PromQLSPECIAL_TIME_FUNCTION π time() function in PromQL.SPECIAL_VECTOR_FUNCTION π vector function in PromQLTIMESTAMP_VALUE_PREFIX π LABEL_NAME_REGEX π Static regex for validating label names according to Prometheus specification.
Label names must match the regex: [a-zA-Z_][a-zA-Z0-9_]* discovers_metric_name Whether a selector names no single table and has to enumerate the schemaβs metric tables. native_promql_resolved Whether one query asks for the native fused-series route, resolved the way planning resolves
it: a stated value wins (request over session SET``), otherwise the engine default answers. BinaryFieldPair π