prometheus/util
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
..
flock Add missing license headers 2016-04-13 16:08:22 +02:00
httputil Added go-conntrack for monitoring http connections (#3241) 2017-10-06 11:22:19 +01:00
promlint Add promlint check for histogram/summary reserved names (#2626) 2017-04-15 22:38:01 +01:00
stats utils/stats: remove dead code 2017-09-26 16:32:45 +02:00
strutil Revert "Revert the /graph changes." 2016-09-03 21:05:23 +02:00
testutil Remote storage reads based on oldest timestamp in primary storage (#3129) 2017-10-18 12:08:14 +01:00
treecache *: migrate to go-kit/log 2017-09-08 22:01:51 +05:30