prometheus/storage
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
..
local Fix precision loss. 2014-11-25 17:02:00 +01:00
metric Initial experimental snapshot of next-gen storage. 2014-11-25 17:02:00 +01:00
remote Make metrics exported by the Prometheus server itself more consistent. 2014-11-25 17:02:00 +01:00