mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
161c8fbf9b
This commit extracts the model.Values truncation behavior into the actual tiered storage, which uses it and behaves in a peculiar way—notably the retention of previous elements if the chunk were to ever go empty. This is done to enable interpolation between sparse sample values in the evaluation cycle. Nothing necessarily new here—just an extraction. Now, the model.Values TruncateBefore functionality would do what a user would expect without any surprises, which is required for the DeletionProcessor, which may decide to split a large chunk in two if it determines that the chunk contains the cut-off time. |
||
---|---|---|
.. | ||
ast | ||
fixtures | ||
alerting.go | ||
helpers.go | ||
lexer.l | ||
lexer.l.go | ||
load.go | ||
Makefile | ||
manager.go | ||
parser.y | ||
parser.y.go | ||
recording.go | ||
rules.go | ||
rules_test.go | ||
testdata.go |