Brian Brazil 43b5d8ead2 promql: Limit extrapolation of delta/rate/increase
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
2016-01-11 18:20:59 +01:00
..
2015-08-22 09:42:45 +02:00
2016-01-11 18:20:58 +01:00
2016-01-11 18:20:55 +01:00
2016-01-11 18:20:55 +01:00
2016-01-11 16:48:11 +01:00
2016-01-11 16:48:18 +01:00