package
0.0.0-20240816033106-757bced2f5f6
Repository: https://github.com/tdakkota/docker-logql.git
Documentation: pkg.go.dev

# Packages

Package jsonexpr provides JSON extractor expression parser.
Package logqlmetric provides metric queries implementation.
Package logqlpattern contains parser for LogQL `pattern` stage pattern.

# Functions

BuildPipeline builds a new Pipeline.
NewEngine creates new Engine.

# Variables

NopProcessor is a processor that does nothing.

# Structs

AndLabelMatcher is a AND logical operation for two label matchers.
BytesLabelFilter is a label filter Processor.
ContainsMatcher checks if a string contains value.
Decolorize removes ANSI escape codes from line.
DistinctFilter filters out records with duplicate label values.
DropLabels label filtering Processor.
DurationLabelFilter is a label filter Processor.
Engine is a LogQL evaluation engine.
EqComparator implements '==' Comparator.
EqualIPMatcher checks if an IP equal to given value.
EqualsMatcher checks if a string equals to a value.
EvalParams sets evaluation parameters.
GtComparator implements '>' Comparator.
GteComparator implements '>=' Comparator.
IPLabelFilter is a label filter Processor.
IPLineFilter looks for IP address in a line and applies matcher to it.
JSONExtractor is a JSON label extractor.
KeepLabels label filtering Processor.
LabelFormat is a label formatting Processor.
LabelMatcher is a label filter Processor.
LabelSet is a log record's label set.
LineFilter is a line matching Processor.
LineFormat is a line formatting Processor.
LogfmtExtractor is a Logfmt label extractor.
LtComparator implements '<' Comparator.
LteComparator implements '<=' Comparator.
NotEqComparator implements '!=' Comparator.
NotMatcher is a NOT logical matcher.
NumberLabelFilter is a label filter Processor.
Options sets Engine options.
OrLabelMatcher is a OR logical operation for two label matchers.
PatternExtractor is a Pattern label extractor.
Pipeline is a multi-stage processor.
PrefixIPMatcher checks if an IP has given prefix.
QuerierCapabilities defines what operations storage can do.
RangeIPMatcher checks if an IP is in given range.
RegexpExtractor is a Regexp label extractor.
RegexpMatcher checks if a matches regular expression.
RenameLabel is a label renaming Processor.
SelectLogsParams is a storage query params.
UnpackExtractor extracts log entry fron Promtail `pack`-ed entry.
UnsupportedError is an error that reports unsupported expressions.

# Interfaces

Comparator is a filter that compares value.
IPMatcher matches an IP.
Matcher is a generic matcher.
Processor is a log record processor.
Querier does queries to storage.
StringMatcher matches a string.

# Type aliases

SupportedOps is a bitset defining ops supported by Querier.