prometheus/storage
beorn7 454ecf3f52 Rework the way ranges and instants are handled
In a way, our instants were also ranges, just with the staleness delta
as range length. They are no treated equally, just that in one case,
the range length is set as range, in the other the staleness
delta. However, there are "real" instants where start and and time of
a query is the same. In those cases, we only want to return a single
value (the one closest before or at the equal start and end time). If
that value is the last sample in the series, odds are we have it
already in the series object. In that case, there is no need to pin or
load any chunks. A special singleSampleSeriesIterator is created for
that. This should greatly speed up instant queries as they happen
frequently for rule evaluations.
2016-02-22 01:47:18 +01:00
..
local Rework the way ranges and instants are handled 2016-02-22 01:47:18 +01:00
metric Anchor regexes in vector matching 2015-11-05 11:23:43 +01:00
remote Return error on sample appending 2016-02-02 14:01:44 +01:00
storage.go Fix deadlock, structure target logging 2016-02-03 10:39:34 +01:00