prometheus/util/testutil
Thibault Chataigner bf4a279a91 Remote storage reads based on oldest timestamp in primary storage (#3129)
Currently all read queries are simply pushed to remote read clients.
This is fine, except for remote storage for wich it unefficient and
make query slower even if remote read is unnecessary.
So we need instead to compare the oldest timestamp in primary/local
storage with the query range lower boundary. If the oldest timestamp
is older than the mint parameter, then there is no need for remote read.
This is an optionnal behavior per remote read client.

Signed-off-by: Thibault Chataigner <t.chataigner@criteo.com>
2017-10-18 12:08:14 +01:00
..
directory.go Fixing tests for Windows 2017-07-09 01:59:30 -03:00
error.go Move pkg/ to util/ 2015-06-01 21:12:32 +02:00
roundtrip.go fix issues reported by gofmt and spelling typo (#3127) 2017-08-29 09:00:11 +01:00
storage.go Remote storage reads based on oldest timestamp in primary storage (#3129) 2017-10-18 12:08:14 +01:00
testing.go add a NotOk helper method in the testing package 2017-10-12 13:14:58 +02:00