prometheus/storage/tsdb
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
..
tsdb.go tune the "Wal segment size" with a flag (#5029) 2019-01-03 17:13:21 +03:00
tsdb_export_test.go added tsdb/head mint maxt metrics (#4888) 2018-11-21 12:57:32 +02:00
tsdb_test.go added tsdb/head mint maxt metrics (#4888) 2018-11-21 12:57:32 +02:00