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

# Functions

Since we shard by powers of two and we increase shard factor once each shard surpasses maxBytesPerShard, if the shard factor is at least two, the range of data per shard is (maxBytesPerShard/2, maxBytesPerShard] For instance, for a maxBytesPerShard of 500MB and a query touching 1000MB, we split into two shards of 500MB.
LinearShards is a sharding implementation that splits the data into equal sized shards covering the entire keyspace.

# Constants

# Variables

256->65536.

# Structs

PowerOfTwoSharding is a slimmed down legacy sharding implementation designed for use as a fallback when the newer impls aren't found (i.e.

# Interfaces

General purpose iteration over series.

# Type aliases

function Adapter for ForSeries implementation.