# Functions
AddFilterExpr adds a filter expression to a logselector expression.
No description provided by the author
No description provided by the author
IsLogicalBinOp tests whether an operation is a logical/set binary operation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseExpr parses a string and returns an Expr.
No description provided by the author
ParseLabels parses labels from a string using logql parser.
ParseLogSelector parses a log selector expression `{app="foo"} |= "filter"`.
ParseMatchers parses a string and returns labels matchers, if the expression contains anything else it will return an error.
ParseSampleExpr parses a string and returns the sampleExpr.
No description provided by the author
TokenString returns a printable string for a token or Unicode character.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The result of Scan is one of these tokens or a Unicode character.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The result of Scan is one of these tokens or a Unicode character.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The result of Scan is one of these tokens or a Unicode character.
No description provided by the author
No description provided by the author
The result of Scan is one of these tokens or a Unicode character.
Predefined mode bits to control recognition of tokens.
GoWhitespace is the default value for the Scanner's Whitespace field.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The result of Scan is one of these tokens or a Unicode character.
No description provided by the author
No description provided by the author
The result of Scan is one of these tokens or a Unicode character.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
conversion Op.
No description provided by the author
No description provided by the author
No description provided by the author
drop labels.
No description provided by the author
No description provided by the author
No description provided by the author
function filters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
keep labels.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
parsers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
range vector ops.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
parser flags.
binops - arithmetic.
No description provided by the author
No description provided by the author
No description provided by the author
binops - comparison.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
binops - logical/set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
vector ops.
No description provided by the author
No description provided by the author
vector.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The result of Scan is one of these tokens or a Unicode character.
No description provided by the author
No description provided by the author
Predefined mode bits to control recognition of tokens.
Predefined mode bits to control recognition of tokens.
includes Ints and hexadecimal floats.
Predefined mode bits to control recognition of tokens.
Predefined mode bits to control recognition of tokens.
Predefined mode bits to control recognition of tokens.
Predefined mode bits to control recognition of tokens.
if set with ScanComments, comments become white space.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The result of Scan is one of these tokens or a Unicode character.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Grouping struct represents the grouping by/without label(s) for vector aggregators and range vector aggregators.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Position is a value that represents a source position.
RangeAggregationExpr not all range vector aggregation expressions support grouping by/without label(s), therefore the Grouping struct can be nil.
A Scanner implements reading of Unicode characters and tokens from an io.Reader.
No description provided by the author
VectorAggregationExpr all vector aggregation expressions support grouping by/without label(s), therefore the Grouping struct can never be nil.
No description provided by the author
VectorMatching describes how elements from two Vectors in a binary operation are supposed to be matched.
# Interfaces
Expr is the root expression which can be a SampleExpr or LogSelectorExpr.
LogPipelineExpr is an expression defining a log pipeline.
LogSelectorExpr is a LogQL expression filtering and returning logs.
SampleExpr is a LogQL expression filtering logs and returning metric samples.
StageExpr is an expression defining a single step into a log pipeline.
No description provided by the author
# Type aliases
MultiStageExpr is multiple stages which implement a PipelineExpr.
Type alias for backward compatibility.
Type alias for backward compatibility.
VectorMatchCardinality describes the cardinality relationship of two Vectors in a binary operation.
No description provided by the author