prometheus/storage
Goutham Veeramachaneni 384cba1211
Add flag for size based retention (#5109)
* Add flag for size based retention

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

* Deprecate the old retention flag for a new one.

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

* Add ability to take a suffix for size flag

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

* Address feedback

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
2019-01-18 19:18:36 +05:30
..
remote *: apply gofmt -s 2019-01-16 17:28:14 -05:00
tsdb Add flag for size based retention (#5109) 2019-01-18 19:18:36 +05:30
buffer_test.go Use a fake SeriesIterator (that generates samples on the fly instead of using a slice) for BufferedSeriesIterator, to reduce the variance of benchmark results due to memory pressure. (#4847) 2018-12-18 11:22:33 +00: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
fanout_test.go Return warnings on a remote read fail (#4832) 2018-11-30 14:27:12 +00:00
fanout.go Move err to be the last return value from storage.Select. (#5054) 2019-01-02 11:10:13 +00:00
interface.go Move err to be the last return value from storage.Select. (#5054) 2019-01-02 11:10:13 +00:00
noop.go Move err to be the last return value from storage.Select. (#5054) 2019-01-02 11:10:13 +00:00