prometheus/storage
glutamatt 5ddde1965b tune the "Wal segment size" with a flag (#5029)
Add WALSegmentSize as an option, and the corresponding flag "storage.tsdb.wal-segment-size" to tune the max size of wal segment files.

The addressed base problem is to reduce the disk space used by wal segment files : on a raspberry pi, for instance, we often want to reduce write load of the sd card, then, the wal directory is mounted on a memory (space limited) partition.

the default value of the segment max file size, pushed the size of directory to 128 MB for each segment , which is too much ram consumption on a rasp.

the initial discussion is at https://github.com/prometheus/tsdb/pull/450
2019-01-03 17:13:21 +03:00
..
remote Move err to be the last return value from storage.Select. (#5054) 2019-01-02 11:10:13 +00:00
tsdb tune the "Wal segment size" with a flag (#5029) 2019-01-03 17:13:21 +03: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 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
fanout.go Move err to be the last return value from storage.Select. (#5054) 2019-01-02 11:10:13 +00:00
fanout_test.go Return warnings on a remote read fail (#4832) 2018-11-30 14:27:12 +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