Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Evaluator ¶
type Evaluator struct { }
Evaluator is used for evaluating PromQL expression locally
func (*Evaluator) EvalYieldsFloatExpr ¶
func (receiver *Evaluator) EvalYieldsFloatExpr(expr parser.Expr) *influxql.NumberLiteral
EvalYieldsFloatExpr evaluates PromQL expression and returns an InfluxQL NumberLiteral
Click to show internal directories.
Click to hide internal directories.