prometheus/storage
Chris Marchbanks 8df4bca470
Garbage collect asynchronously in the WAL Watcher
The WAL Watcher replays a checkpoint after it is created in order to
garbage collect series that no longer exist in the WAL. Currently the
garbage collection process is done serially with reading from the tip of
the WAL which can cause large delays in writing samples to remote
storage just after compaction occurs.

This also fixes a memory leak where dropped series are not cleaned up as
part of the SeriesReset process.

Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
2019-10-07 14:36:10 -06:00
..
remote Garbage collect asynchronously in the WAL Watcher 2019-10-07 14:36:10 -06:00
tsdb Cleanup after merging tsdb into prometheus 2019-08-13 14:04:14 +05:30
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 Replaced t.Fatalf() with testutil.Assert() in buffer_test.go (#6084) 2019-10-02 06:28:08 +01: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