package
2.4.3
Repository: https://github.com/frelon/loki.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddFilterExpr adds a filter expression to a logselector expression.
No description provided by the author
ConcatEvaluator joins multiple StepEvaluators.
EvaluatorUnsupportedType is a helper for signaling that an evaluator does not support an Expr type.
GetRangeType returns whether a query is an instant query or range query.
No description provided by the author
IsLogicalBinOp tests whether an operation is a logical/set binary operation.
Match extracts and parses multiple matcher groups from a slice of strings.
NewDefaultEvaluator constructs a DefaultEvaluator.
No description provided by the author
NewEngine creates a new LogQL Engine.
No description provided by the author
No description provided by the author
No description provided by the author
NewShardedEngine constructs a *ShardedEngine.
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.
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.
ParseShards parses a list of string encoded shards.
No description provided by the author
No description provided by the author
No description provided by the author
ResultIterator coerces a downstream streams result into an iter.EntryIterator.
ResultStepEvaluator coerces a downstream vector or matrix into a StepEvaluator.

# 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
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
keys used in metrics.
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
keys used in metrics.
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
keys used in metrics.
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
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
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
binops - operations.
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
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
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
keys used in metrics.
No description provided by the author
No description provided by the author
keys used in metrics.
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

# Variables

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
ConcatLogSelectorExpr is an expr for concatenating multiple LogSelectorExpr.
ConcatSampleExpr is an expr for concatenating multiple SampleExpr Contract: The embedded SampleExprs within a linked list of ConcatSampleExprs must be of the same structure.
No description provided by the author
DownstreamEvaluator is an evaluator which handles shard aware AST nodes.
DownstreamLogSelectorExpr is a LogSelectorExpr which signals downstream computation.
No description provided by the author
DownstreamSampleExpr is a SampleExpr which signals downstream computation.
Engine is the LogQL engine.
EngineOpts is the list of options to use with the LogQL query engine.
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
LiteralParams impls Params.
No description provided by the author
No description provided by the author
MatrixStepper exposes a promql.Matrix as a StepEvaluator.
No description provided by the author
Shard aware mock querier.
No description provided by the author
No description provided by the author
No description provided by the author
SelectParams specifies parameters passed to data selections.
No description provided by the author
ShardedEngine is an Engine implementation that can split queries into more parallelizable forms via querying the underlying backend shards individually and reaggregating them.
ShardingMetrics is the metrics wrapper used in shard mapping.
No description provided by the author
No description provided by the author
No description provided by the author
VectorMatching describes how elements from two Vectors in a binary operation are supposed to be matched.

# Interfaces

No description provided by the author
Downstreamer is an interface for deferring responsibility for query execution.
No description provided by the author
Evaluator is an interface for iterating over data at different nodes in the AST.
Expr is the root expression which can be a SampleExpr or LogSelectorExpr.
Limits allow the engine to fetch limits for a given users.
LogPipelineExpr is an expression defining a log pipeline.
LogSelectorExpr is a LogQL expression filtering and returning logs.
Params details the parameters associated with a loki request.
Querier allows a LogQL expression to fetch an EntryIterator for a set of matchers and filters.
Query is a LogQL query to be executed.
No description provided by the author
RangeVectorIterator iterates through a range of samples.
No description provided by the author
SampleExpr is a LogQL expression filtering logs and returning metric samples.
StageExpr is an expression defining a single step into a log pipeline.
StepEvaluator evaluate a single step of a query.
No description provided by the author

# Type aliases

MultiStageExpr is multiple stages which implement a PipelineExpr.
Type alias for backward compatibility.
No description provided by the author
RangeVectorAggregator aggregates samples for a given range of samples.
No description provided by the author
Type alias for backward compatibility.
No description provided by the author
VectorMatchCardinality describes the cardinality relationship of two Vectors in a binary operation.
No description provided by the author