prometheus/cmd
Bryan Boreham 1aaabfee2d tsdb: make sharding function a parameter
Instead of relying on `labels.Hash()`, which may change, have the
caller pass in a shard function if required.

For most purposes `tsdb.Options.ShardFunc` is used, but the compactor
may be created independently so `NewLeveledCompactorWithChunkSize` also
takes a shard function parameter.

Regular Prometheus, which does not use block sharding, will have this
parameter as nil.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-01-12 11:41:22 +00:00
..
compact tsdb: make sharding function a parameter 2023-01-12 11:41:22 +00:00
prometheus Support FloatHistogram in TSDB (#11522) 2022-12-28 14:25:07 +05:30
promtool Simplify IndexReader.Series interface 2022-12-19 15:22:09 +00:00