# Functions
GetShardingStrategy returns the correct ShardingStrategy implementation based on provided configuration.
GetShuffleShardingSubring returns the subring to be used for a given user.
NewIndexGateway instantiates a new Index Gateway and start its services.
No description provided by the author
NewRingManager is the recommended way of instantiating a RingManager.
No description provided by the author
No description provided by the author
# Constants
ClientMode is the RingManager mode executed by Loki components that are clients of the IndexGateway.
RingIdentifier is used as a unique name to register the Index Gateway ring.
RingKey is the name of the key used to register the different Index Gateway instances in the key-value store.
RingMode is a mode where different Index Gateway instances are assigned to handle different tenants.
ServerMode is the RingManager mode execute by the IndexGateway.
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
Config configures an Index Gateway server.
No description provided by the author
No description provided by the author
NoopStrategy is an implementation of the ShardingStrategy that does not filter anything.
RingCfg is a wrapper for our Index Gateway ring configuration plus the replication factor.
RingManager is a component instantiated before all the others and is responsible for the ring setup.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
ManagerMode defines the different modes for the RingManager to execute.
Mode represents in which mode an Index Gateway instance is running.