Structs§
- Aggregation
- A function aggregation clause.
- Function
- A function call.
- Group
- An expression explicitly grouped in parens
- Label
- A label matcher in a selector
- Label
SetOp Tuple - Matching
- An operator matching clause
- Matching
Group - A matching clause’s nested grouping clause
- Operator
- A binary operator expression with left- and right-hand sides.
- Return
Value - A predicted return value from an expression
- Selector
- A Selector that retrieves time series data from Prometheus
- Span
- A byte-index tuple representing a span of characters in a string
- Subquery
- A Subquery which converts an instant vector to a range vector by repeatedly evaluating it at set intervals into the relative past
- Unknown
Cause
Enums§
- Aggregation
Op - Aggregation operator types, namely “by” and “without”
- Expression
- A root expression node.
- LabelOp
- Label equality operators
- Label
SetOp - An operation on time series labels that might be performed by a particular (sub-)expression.
- Matching
Group Op - Matching group clause types (
group_left
,group_right
) - Matching
Op - A matching clause type
- Operator
Kind - All legal binary operator types
- Prom
Duration - A Prometheus duration
- Return
Kind - A predicted return datatype
Functions§
- parse_
expr - Parses a Prometheus expression into a syntax tree.