Versions in this module Expand all Collapse all v3 v3.0.0 Apr 8, 2024 Changes in this version + const PackedEntryKey + const ValueTypeStreams + var ErrBlocked = errors.New("query blocked by policy") + var ErrIntervalLimit = errors.New("[interval] value exceeds limit") + var ErrLimit = errors.New("limit reached while evaluating the query") + var ErrParse = errors.New("failed to parse the log query") + var ErrParseMatchers = errors.New("only label matchers are supported") + var ErrPipeline = errors.New("failed execute pipeline") + var ErrorDetailsLabel = "__error_details__" + var ErrorLabel = "__error__" + var PreserveErrorLabel = "__preserve_error__" + type LimitError struct + func NewSeriesLimitError(limit int) *LimitError + func (e LimitError) Is(target error) bool + type ParseError struct + func NewParseError(msg string, line, col int) ParseError + func NewStageError(expr string, err error) ParseError + func (p ParseError) Error() string + func (p ParseError) Is(target error) bool + type PipelineError struct + func NewPipelineErr(metric labels.Labels) *PipelineError + func (e PipelineError) Error() string + func (e PipelineError) Is(target error) bool + type Result struct + Data parser.Value + Headers []*definitions.PrometheusResponseHeader + Statistics stats.Result + Warnings []string + type Streams []push.Stream + func (Streams) String() string + func (Streams) Type() parser.ValueType + func (streams Streams) Len() int + func (streams Streams) Less(i, j int) bool + func (streams Streams) Lines() int64 + func (streams Streams) Swap(i, j int)