package
2.2.1+incompatible
Repository: https://github.com/metrico/loki-apache.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package marshal converts internal objects to loghttp model objects.
Package stats provides primitives for recording metrics across the query path.
No description provided by the author

# Functions

AddFilterExpr adds a filter expression to a logselector expression.
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.
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
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
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
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
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
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
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
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
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
ValueTypeStreams promql.ValueType for log streams.
No description provided by the author

# Variables

Those errors are useful for comparing error returned by the engine.
Those errors are useful for comparing error returned by the engine.
Those errors are useful for comparing error returned by the engine.
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
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.
LiteralParams impls Params.
MatrixStepper exposes a promql.Matrix as a StepEvaluator.
No description provided by the author
Shard aware mock querier.
ParseError is what is returned when we failed to parse.
Result is the result of a query execution.
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

# 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.
LogSelectorExpr is a LogQL expression filtering and returning logs.
Params details the parameters associated with a loki request.
PipelineExpr is an expression defining a log pipeline.
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.

# 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
Streams is promql.Value.