mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-27 14:39:40 -08:00
c77c3a8c56
The new implementation detects the start and end of a series by looking at the average sample interval within the range. If the first (last) sample in the range is more than 1.1*interval distant from the beginning (end) of the range, it is considered the first (last) sample of the series as a whole, and extrapolation is limited to half the interval (rather than all the way to the beginning (end) of the range). In addition, if the extrapolated starting point of a counter (where it is zero) is within the range, it is used as the starting point of the series. Fixes #581 |
||
---|---|---|
.. | ||
testdata | ||
analyzer.go | ||
ast.go | ||
engine.go | ||
engine_test.go | ||
functions.go | ||
lex.go | ||
lex_test.go | ||
parse.go | ||
parse_test.go | ||
printer.go | ||
printer_test.go | ||
promql_test.go | ||
quantile.go | ||
test.go |