Module planner

Source

Structsยง

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.
MAX_SCATTER_POINTS ๐Ÿ”’
Threshold for scatter scan mode
SCALAR_FUNCTION ๐Ÿ”’
scalar() function in PromQL.
SCHEMA_COLUMN_MATCHER ๐Ÿ”’
Special modifier for cross schema query
SPECIAL_ABSENT_FUNCTION ๐Ÿ”’
absent() 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

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

Functionsยง

normalize_matcher
Unescapes the value of the matcher