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(), andabsent(). - 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, andor).
Structsยง
- Binary
Result ๐Labels - Result labels a vector-vector binary operation derives from its matching modifier, projected from the operand each label belongs to.
- Function
Args ๐ - Prom
Planner - Prom
Planner ๐Context
Enumsยง
- Scalar
Func ๐ - 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 lecolumn 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_fractionfunction in PromQL- SPECIAL_
HISTOGRAM_ ๐QUANTILE histogram_quantilefunction in PromQL- SPECIAL_
TIME_ ๐FUNCTION time()function in PromQL.- SPECIAL_
VECTOR_ ๐FUNCTION vectorfunction 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ยง
- Binary
Field ๐Pair