Crate prometheus_parser[][src]

Structs

A function aggregation clause.

A function call.

An expression explicitly grouped in parens

A label matcher in a selector

An operator matching clause

A matching clause’s nested grouping clause

A binary operator expression with left- and right-hand sides.

A predicted return value from an expression

A Selector that retrieves time series data from Prometheus

A byte-index tuple representing a span of characters in a string

A Subquery which converts an instant vector to a range vector by repeatedly evaluating it at set intervals into the relative past

Enums

Aggregation operator types, namely “by” and “without”

A root expression node.

Label equality operators

An operation on time series labels that might be performed by a particular (sub-)expression.

Matching group clause types (group_left, group_right)

A matching clause type

All legal binary operator types

A Prometheus duration

A predicted return datatype

Functions

Parses a Prometheus expression into a syntax tree.

Type Definitions