prometheus/storage/local
beorn7 4221c7de5c Improve handling of series file truncation
If only very few chunks are to be truncated from a very large series
file, the rewrite of the file is a lorge overhead. With this change, a
certain ratio of the file has to be dropped to make it happen. While
only causing disk overhead at about the same ratio (by default 10%),
it will cut down I/O by a lot in above scenario.
2016-01-11 16:42:10 +01:00
..
codable Replace metric.LabelPair with model.LabelPair 2015-08-22 13:32:13 +02:00
fixtures/b0 Add benchmark for loading chunks and chunk descs. 2015-03-19 19:28:21 +01:00
index Fix some dead code, missing error checks, shadowings. 2015-09-14 12:21:34 +02:00
chunk.go Replace metric.SamplePair with model.SamplePair 2015-08-22 14:52:35 +02:00
crashrecovery.go Switch to common/log 2015-10-03 10:21:43 +02:00
delta.go Replace metric.SamplePair with model.SamplePair 2015-08-22 14:52:35 +02:00
delta_helpers.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
doubledelta.go Replace metric.SamplePair with model.SamplePair 2015-08-22 14:52:35 +02:00
instrumentation.go Test chunkDesc eviction and loading 2015-07-16 13:09:13 +02:00
interface.go Move COWMetric into storage/metric package 2015-08-25 11:59:07 +02:00
locker.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
locker_test.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
mapper.go Switch to common/log 2015-10-03 10:21:43 +02:00
mapper_test.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
persistence.go Improve handling of series file truncation 2016-01-11 16:42:10 +01:00
persistence_test.go Improve handling of series file truncation 2016-01-11 16:42:10 +01:00
preload.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
series.go Fix most golint warnings. 2015-08-26 12:44:46 +02:00
storage.go Improve handling of series file truncation 2016-01-11 16:42:10 +01:00
storage_test.go Improve handling of series file truncation 2016-01-11 16:42:10 +01:00
test_helpers.go Fix some dead code, missing error checks, shadowings. 2015-09-14 12:21:34 +02:00