Documentation ¶
Index ¶
- func HasOuterAggregation(node *parser.PromQLNode) (aggs []*promParser.AggregateExpr)
- func HasOuterBinaryExpr(node *parser.PromQLNode) *promParser.BinaryExpr
- func HasOuterRate(node *parser.PromQLNode) (calls []*promParser.Call)
- func HasVectorSelector(node *parser.PromQLNode) (vs []*promParser.VectorSelector)
- func RemoveConditions(source string) promParser.Node
- type PromQLFragment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasOuterAggregation ¶
func HasOuterAggregation(node *parser.PromQLNode) (aggs []*promParser.AggregateExpr)
func HasOuterBinaryExpr ¶ added in v0.8.0
func HasOuterBinaryExpr(node *parser.PromQLNode) *promParser.BinaryExpr
func HasOuterRate ¶ added in v0.28.0
func HasOuterRate(node *parser.PromQLNode) (calls []*promParser.Call)
func HasVectorSelector ¶ added in v0.4.1
func HasVectorSelector(node *parser.PromQLNode) (vs []*promParser.VectorSelector)
func RemoveConditions ¶ added in v0.10.1
func RemoveConditions(source string) promParser.Node
Types ¶
type PromQLFragment ¶ added in v0.16.1
type PromQLFragment struct { Fragment *parser.PromQLNode BinExpr *promParser.BinaryExpr }
func HasOuterAbsent ¶ added in v0.4.1
func HasOuterAbsent(node *parser.PromQLNode) (calls []PromQLFragment)
Click to show internal directories.
Click to hide internal directories.