Skip to main content

Module planner

Module planner 

Source

Modulesยง

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.
set_operator ๐Ÿ”’
Planning of the PromQL set operators (and, unless, and or).

Structsยง

BinaryResultLabels ๐Ÿ”’
Result labels a vector-vector binary operation derives from its matching modifier, projected from the operand each label belongs to.
FunctionArgs ๐Ÿ”’
PromPlanner
PromPlannerContext ๐Ÿ”’

Enumsยง

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.

Constantsยง

DB_COLUMN_MATCHER ๐Ÿ”’
DEFAULT_FIELD_COLUMN ๐Ÿ”’
default value column name for empty metric
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
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 PromQL
SPECIAL_HISTOGRAM_FRACTION ๐Ÿ”’
histogram_fraction function in PromQL
SPECIAL_HISTOGRAM_QUANTILE ๐Ÿ”’
histogram_quantile function in PromQL
SPECIAL_TIME_FUNCTION ๐Ÿ”’
time() function in PromQL.
SPECIAL_VECTOR_FUNCTION ๐Ÿ”’
vector function in PromQL
TIMESTAMP_VALUE_PREFIX ๐Ÿ”’

Staticsยง

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_]*

Type Aliasesยง

BinaryFieldPair ๐Ÿ”’