prometheus/storage/local
Bjoern Rabenstein d742edfe0d Fix precision loss.
Large delta values often imply a difference between a large base value
and the large delta value, potentially resulting in small numbers with
a huge precision error. Since large delta values need 8 bytes anyway,
we are not even saving memory.

As a solution, always save the absoluto value rather than a delta once
8 bytes would be needed for the delta. Timestamps are then saved as 8
byte integers, while values are always saved as float64 in that case.

Change-Id: I01100d600515e16df58ce508b50982ffd762cc49
2014-11-25 17:02:00 +01:00
..
chunk.go Fix precision loss. 2014-11-25 17:02:00 +01:00
delta.go Fix precision loss. 2014-11-25 17:02:00 +01:00
freelist.go Initial experimental snapshot of next-gen storage. 2014-11-25 17:02:00 +01:00
instrumentation.go Initial experimental snapshot of next-gen storage. 2014-11-25 17:02:00 +01:00
interface.go Index-persistence switched from gob to a hand-coded solution. 2014-11-25 17:02:00 +01:00
persistence.go Index-persistence switched from gob to a hand-coded solution. 2014-11-25 17:02:00 +01:00
persistence_test.go Fix precision loss. 2014-11-25 17:02:00 +01:00
preload.go Initial experimental snapshot of next-gen storage. 2014-11-25 17:02:00 +01:00
series.go Index-persistence switched from gob to a hand-coded solution. 2014-11-25 17:02:00 +01:00
storage.go Index-persistence switched from gob to a hand-coded solution. 2014-11-25 17:02:00 +01:00
storage_test.go Fix precision loss. 2014-11-25 17:02:00 +01:00
test_helpers.go Add chunk persistence tests, fix storage tests. 2014-11-25 17:02:00 +01:00