Versions in this module Expand all Collapse all v3 v3.0.1 Mar 21, 2022 v3.0.0 Mar 21, 2022 Changes in this version + const ABSENT_OVER_TIME + const ADD + const AND + const AVG + const AVG_OVER_TIME + const BOOL + const BOTTOMK + const BY + const BYTES + const BYTES_CONV + const BYTES_OVER_TIME + const BYTES_RATE + const CLOSE_BRACE + const CLOSE_BRACKET + const CLOSE_PARENTHESIS + const CMP_EQ + const COMMA + const COUNT + const COUNT_OVER_TIME + const DIV + const DOT + const DURATION + const DURATION_CONV + const DURATION_SECONDS_CONV + const EQ + const FIRST_OVER_TIME + const GROUP_LEFT + const GROUP_RIGHT + const GT + const GTE + const IDENTIFIER + const IGNORING + const IP + const JSON + const LABELS + const LABEL_FMT + const LABEL_REPLACE + const LAST_OVER_TIME + const LINE_FMT + const LOGFMT + const LT + const LTE + const MATCHERS + const MAX + const MAX_OVER_TIME + const MIN + const MIN_OVER_TIME + const MOD + const MUL + const NEQ + const NRE + const NUMBER + const OFFSET + const ON + const OPEN_BRACE + const OPEN_BRACKET + const OPEN_PARENTHESIS + const OR + const OpConvBytes + const OpConvDuration + const OpConvDurationSeconds + const OpFilterIP + const OpFmtLabel + const OpFmtLine + const OpGroupLeft + const OpGroupRight + const OpIgnoring + const OpLabelReplace + const OpOffset + const OpOn + const OpParserTypeJSON + const OpParserTypeLogfmt + const OpParserTypePattern + const OpParserTypeRegexp + const OpParserTypeUnpack + const OpPipe + const OpRangeTypeAbsent + const OpRangeTypeAvg + const OpRangeTypeBytes + const OpRangeTypeBytesRate + const OpRangeTypeCount + const OpRangeTypeFirst + const OpRangeTypeLast + const OpRangeTypeMax + const OpRangeTypeMin + const OpRangeTypeQuantile + const OpRangeTypeRate + const OpRangeTypeStddev + const OpRangeTypeStdvar + const OpRangeTypeSum + const OpTypeAdd + const OpTypeAnd + const OpTypeAvg + const OpTypeBottomK + const OpTypeCmpEQ + const OpTypeCount + const OpTypeDiv + const OpTypeGT + const OpTypeGTE + const OpTypeLT + const OpTypeLTE + const OpTypeMax + const OpTypeMin + const OpTypeMod + const OpTypeMul + const OpTypeNEQ + const OpTypeOr + const OpTypePow + const OpTypeStddev + const OpTypeStdvar + const OpTypeSub + const OpTypeSum + const OpTypeTopK + const OpTypeUnless + const OpUnwrap + const PATTERN + const PIPE + const PIPE_EXACT + const PIPE_MATCH + const POW + const QUANTILE_OVER_TIME + const RANGE + const RATE + const RE + const REGEXP + const STDDEV + const STDDEV_OVER_TIME + const STDVAR + const STDVAR_OVER_TIME + const STRING + const SUB + const SUM + const SUM_OVER_TIME + const TOPK + const UNLESS + const UNPACK + const UNWRAP + const UnsupportedErr + const WITHOUT + func IsComparisonOperator(op string) bool + func IsLogicalBinOp(op string) bool + func MergeBinOp(op string, left, right *promql.Sample, filter, isVectorComparison bool) *promql.Sample + func ParseLabels(lbs string) (labels.Labels, error) + func ParseMatchers(input string) ([]*labels.Matcher, error) + type BinOpExpr struct + Op string + Opts *BinOpOptions + RHS SampleExpr + func (e *BinOpExpr) Shardable() bool + func (e *BinOpExpr) String() string + func (e *BinOpExpr) Walk(f WalkFn) + type BinOpOptions struct + ReturnBool bool + VectorMatching *VectorMatching + type Expr interface + Shardable func() bool + func Clone(e Expr) (Expr, error) + func ParseExpr(input string) (Expr, error) + type Grouping struct + Groups []string + Without bool + func (g Grouping) String() string + type JSONExpressionParser struct + Expressions []log.JSONExpression + func (j *JSONExpressionParser) Shardable() bool + func (j *JSONExpressionParser) Stage() (log.Stage, error) + func (j *JSONExpressionParser) String() string + func (j *JSONExpressionParser) Walk(f WalkFn) + type LabelFilterExpr struct + func (e *LabelFilterExpr) Shardable() bool + func (e *LabelFilterExpr) Stage() (log.Stage, error) + func (e *LabelFilterExpr) String() string + func (e *LabelFilterExpr) Walk(f WalkFn) + type LabelFmtExpr struct + Formats []log.LabelFmt + func (e *LabelFmtExpr) Shardable() bool + func (e *LabelFmtExpr) Stage() (log.Stage, error) + func (e *LabelFmtExpr) String() string + func (e *LabelFmtExpr) Walk(f WalkFn) + type LabelParserExpr struct + Op string + Param string + func (e *LabelParserExpr) Shardable() bool + func (e *LabelParserExpr) Stage() (log.Stage, error) + func (e *LabelParserExpr) String() string + func (e *LabelParserExpr) Walk(f WalkFn) + type LabelReplaceExpr struct + Dst string + Left SampleExpr + Re *regexp.Regexp + Regex string + Replacement string + Src string + func (e *LabelReplaceExpr) Extractor() (SampleExtractor, error) + func (e *LabelReplaceExpr) Selector() LogSelectorExpr + func (e *LabelReplaceExpr) Shardable() bool + func (e *LabelReplaceExpr) String() string + func (e *LabelReplaceExpr) Walk(f WalkFn) + type LineFilterExpr struct + Left *LineFilterExpr + Match string + Op string + Ty labels.MatchType + func (e *LineFilterExpr) Filter() (log.Filterer, error) + func (e *LineFilterExpr) Shardable() bool + func (e *LineFilterExpr) Stage() (log.Stage, error) + func (e *LineFilterExpr) String() string + func (e *LineFilterExpr) Walk(f WalkFn) + type LineFmtExpr struct + Value string + func (e *LineFmtExpr) Shardable() bool + func (e *LineFmtExpr) Stage() (log.Stage, error) + func (e *LineFmtExpr) String() string + func (e *LineFmtExpr) Walk(f WalkFn) + type LiteralExpr struct + Val float64 + func (e *LiteralExpr) Extractor() (log.SampleExtractor, error) + func (e *LiteralExpr) HasFilter() bool + func (e *LiteralExpr) Matchers() []*labels.Matcher + func (e *LiteralExpr) Pipeline() (log.Pipeline, error) + func (e *LiteralExpr) Selector() LogSelectorExpr + func (e *LiteralExpr) Shardable() bool + func (e *LiteralExpr) String() string + func (e *LiteralExpr) Value() float64 + func (e *LiteralExpr) Walk(f WalkFn) + type LogPipelineExpr interface + Pipeline func() (Pipeline, error) + type LogRange struct + Interval time.Duration + Left LogSelectorExpr + Offset time.Duration + Unwrap *UnwrapExpr + func (r *LogRange) Shardable() bool + func (r *LogRange) Walk(f WalkFn) + func (r LogRange) String() string + type LogSelectorExpr interface + HasFilter func() bool + Matchers func() []*labels.Matcher + func AddFilterExpr(expr LogSelectorExpr, ty labels.MatchType, op, match string) (LogSelectorExpr, error) + func ParseLogSelector(input string, validate bool) (LogSelectorExpr, error) + type MatchersExpr struct + Mts []*labels.Matcher + func (e *MatchersExpr) AppendMatchers(m []*labels.Matcher) + func (e *MatchersExpr) HasFilter() bool + func (e *MatchersExpr) Matchers() []*labels.Matcher + func (e *MatchersExpr) Pipeline() (log.Pipeline, error) + func (e *MatchersExpr) Shardable() bool + func (e *MatchersExpr) String() string + func (e *MatchersExpr) Walk(f WalkFn) + type MultiStageExpr []StageExpr + func (m MultiStageExpr) Pipeline() (log.Pipeline, error) + func (m MultiStageExpr) String() string + type OffsetExpr struct + Offset time.Duration + func (o *OffsetExpr) String() string + type Pipeline = log.Pipeline + type PipelineExpr struct + Left *MatchersExpr + MultiStages MultiStageExpr + func (e *PipelineExpr) HasFilter() bool + func (e *PipelineExpr) Matchers() []*labels.Matcher + func (e *PipelineExpr) Pipeline() (log.Pipeline, error) + func (e *PipelineExpr) Shardable() bool + func (e *PipelineExpr) String() string + func (e *PipelineExpr) Walk(f WalkFn) + type RangeAggregationExpr struct + Grouping *Grouping + Left *LogRange + Operation string + Params *float64 + func (e *RangeAggregationExpr) Selector() LogSelectorExpr + func (e *RangeAggregationExpr) Shardable() bool + func (e *RangeAggregationExpr) String() string + func (e *RangeAggregationExpr) Walk(f WalkFn) + func (r RangeAggregationExpr) Extractor() (log.SampleExtractor, error) + type SampleExpr interface + Extractor func() (SampleExtractor, error) + Selector func() LogSelectorExpr + func ParseSampleExpr(input string) (SampleExpr, error) + type SampleExtractor = log.SampleExtractor + type StageExpr interface + Stage func() (log.Stage, error) + type UnwrapExpr struct + Identifier string + Operation string + PostFilters []log.LabelFilterer + func (u UnwrapExpr) String() string + type VectorAggregationExpr struct + Grouping *Grouping + Left SampleExpr + Operation string + Params int + func (e *VectorAggregationExpr) Extractor() (log.SampleExtractor, error) + func (e *VectorAggregationExpr) Selector() LogSelectorExpr + func (e *VectorAggregationExpr) Shardable() bool + func (e *VectorAggregationExpr) String() string + func (e *VectorAggregationExpr) Walk(f WalkFn) + type VectorMatchCardinality int + const CardManyToOne + const CardOneToMany + const CardOneToOne + func (vmc VectorMatchCardinality) String() string + type VectorMatching struct + Card VectorMatchCardinality + Include []string + MatchingLabels []string + On bool + type WalkFn = func(e interface{}) + type Walkable interface + Walk func(f WalkFn) Other modules containing this package github.com/pao214/loki/v2