package
0.0.0-20241004052545-caa2fb9b60ae
Repository: https://github.com/grafana/mimir.git
Documentation: pkg.go.dev

# Functions

CanParallelize tests if a subtree is parallelizable.
NewASTExprMapper creates an ASTMapper from a ExprMapper.
NewInstantQuerySplitter creates a new query range mapper.
No description provided by the author
No description provided by the author
NewMultiMapper instantiates an ASTMapper from multiple ASTMappers.
No description provided by the author
NewQueryShardSummer instantiates an ASTMapper which will fan out sum queries by shard.
NewSharding creates a new query sharding mapper.
No description provided by the author
ParallelizableFunc ensures that a promql function can be part of a parallel query.
VectorSquash reduces an AST into a single vector query which can be hijacked by a Queryable impl.

# Constants

EmbeddedQueriesLabelName is a reserved label name containing embedded queries.
EmbeddedQueriesMetricName is a reserved metric name denoting a special metric which contains embedded queries.
Possible skipped reasons.
Possible skipped reasons.
Possible skipped reasons.

# Variables

FuncsWithDefaultTimeArg is the list of functions that extract date information from a variadic list of params, which defaults to be just time() otherwise.
JSONCodec is a Codec that uses JSON representations of EmbeddedQueries structs.
NonParallelFuncs is the list of functions that shouldn't be parallelized.

# Structs

ASTExprMapper is an ASTMapper adapter which uses a ExprMapper internally.
EmbeddedQueries is a wrapper type for encoding queries.
No description provided by the author
No description provided by the author
MultiMapper can compose multiple ASTMappers.

# Interfaces

ASTMapper is the exported interface for mapping between multiple AST representations.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author