prometheus/storage
Chris Marchbanks a6a55c433c Improve desired shards calculation (#5763)
The desired shards calculation now properly keeps track of the rate of
pending samples, and uses the previously unused integralAccumulator to
adjust for missing information in the desired shards calculation.

Also, configure more capacity for each shard.  The default 10 capacity
causes shards to block on each other while
sending remote requests. Default to a 500 sample capacity and explain in
the documentation that having more capacity will help throughput.

Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
2019-08-13 10:10:21 +01:00
..
remote Improve desired shards calculation (#5763) 2019-08-13 10:10:21 +01:00
tsdb Refactor testutil.NewStorage into a new package 2019-08-08 19:43:04 -06:00
buffer.go Minor optimization for BufferedSeriesIterator: actually drop the samples falling outside of the new delta from the underlying sampleRing, when ReduceDelta is called. (#4849) 2018-12-18 11:25:45 +00:00
buffer_test.go Remove all usages of stretchr/testify 2019-08-08 19:49:27 -06:00
fanout.go Add storage.Warnings to LabelValues and LabelNames (#5673) 2019-06-17 08:31:17 +01:00
fanout_test.go Remove all usages of stretchr/testify 2019-08-08 19:49:27 -06:00
interface.go Add storage.Warnings to LabelValues and LabelNames (#5673) 2019-06-17 08:31:17 +01:00
noop.go Add storage.Warnings to LabelValues and LabelNames (#5673) 2019-06-17 08:31:17 +01:00