Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign uprange-op data extraction inconsistency #332
Comments
ghost
assigned
juliusv
Jul 15, 2013
This comment has been minimized.
This comment has been minimized.
|
This is caused by the drop in time precision between memory and disk. Disk keeps only seconds, while memory keeps a whole Pro for keeping higher precision in memory: better fidelity of in-memory data, especially for rates computed over it, which benefits rules, which usually access only in-memory data, so recorded rates are more precise and have less "bumps". Con: there's a tiny bump (especially in rates) at the border between what's currently in memory and what's on disk. The bump is non-persistent and will be gone (or rather, move to a different position) on the next flush. |
juliusv
referenced this issue
Jul 16, 2013
Merged
Round time to nearest second in memory storage. #333
juliusv
closed this
Oct 27, 2013
simonpasquier
pushed a commit
to simonpasquier/prometheus
that referenced
this issue
Oct 12, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 25, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
juliusv commentedJul 15, 2013
There is an inconsistency during value extraction for range ops (not range-at-interval ops) when a query crosses the boundary between memory and disk. At the disk/memory boundary, e.g. a rate will drop by a small amount for the duration of the op's range.
To reproduce:
rate(rpc_calls_total[5m])query