package
3.4.2
Repository: https://github.com/grafana/loki.git
Documentation: pkg.go.dev

# Functions

ExtractShardRequestMatchersAndAST extracts the matchers and AST from a query string.
GetShardingStrategy returns the correct ShardingStrategy implementation based on provided configuration.
GetShuffleShardingSubring returns the subring to be used for a given user.
NewClientPool instantiates a new pool of IndexGateway GRPC connections.
NewGatewayClient instantiates a new client used to communicate with an Index Gateway instance.
NewIndexGateway instantiates a new Index Gateway and start its services.

# Constants

RingMode is a mode where different Index Gateway instances are assigned to handle different tenants.
SimpleMode is a mode where an Index Gateway instance solely handle all the work.

# Variables

IndexesRead is the operation run by the querier/query frontent to query indexes via the index gateway.
IndexesSync is the operation used to check the authoritative owners of an index (replicas included).

# Structs

ClientConfig configures the Index Gateway client used to communicate with the Index Gateway server.
ClientPool represents a pool of gRPC connections to different index gateway instances.
Config configures an Index Gateway server.
NoopStrategy is an implementation of the ShardingStrategy that does not filter anything.

# Interfaces

# Type aliases

Mode represents in which mode an Index Gateway instance is running.