package
1.5.0
Repository: https://github.com/m3db/m3.git
Documentation: pkg.go.dev

# Functions

LabelMatchersToModelMatcher parses promql matchers to model matchers.
NewAggregationOperator creates a new aggregation operator based on the type.
NewBinaryOperator creates a new binary operator based on the type.
NewFunctionExpr creates a new function expr based on the type.
NewParseOptions creates a new parse options.
NewSelectorFromMatrix creates a new fetchop.
NewSelectorFromVector creates a new fetchop.
Parse takes a promQL string and converts parses it into a DAG.

# Interfaces

ParseOptions are options for the Prometheus parser.

# Type aliases

MetricSelectorFn is a function that parses a query to Prometheus selectors.
ParseFn is a function that parses a query to a Prometheus expression.
ParseFunctionExpr parses arguments to a function expression, returning a function, a bool indicating whether the function is a noop, and any errors during execution.