prometheus/promql
Brian Brazil 220e78b9c3 Consider a series stale after 4.1 intervals with no data.
To cover the cases where stale markers may not be available,
we need to infer the interval and mark series stale based on that.
As we're lacking stale markers this is less accurate, however
it should be good enough for these cases.

We need 4 intervals as if say we had data at t=0 and t=10,
coming via federation. The next data point should be at t=20 however it
could take up to t=30 for it actually to be ingested, t=40 for it to be
scraped via federation and t=50 for it to be ingested.
We then add 10% on to that for slack, as we do elsewhere.
2017-05-24 14:27:17 +01:00
..
fuzz-data Fuzzing corpus for ParseMetric. 2016-04-29 22:50:24 +02:00
testdata Consider a series stale after 4.1 intervals with no data. 2017-05-24 14:27:17 +01:00
ast.go promql: misc fixes 2016-12-28 11:32:15 +01:00
bench.go promql: Fix (and simplify) populating iterators 2016-08-24 18:37:09 +02:00
engine.go Consider a series stale after 4.1 intervals with no data. 2017-05-24 14:27:17 +01:00
engine_test.go query/query_range should return eval timestamp 2017-05-12 12:00:31 +01:00
functions.go Add timestamp() function. 2017-05-12 12:00:31 +01:00
functions_test.go promql: Fix (and simplify) populating iterators 2016-08-24 18:37:09 +02:00
fuzz.go Updates fuzzers to discard less interesting data 2016-05-10 11:46:03 +02:00
lex.go Fix parsing of label names which are also keywords 2016-09-07 17:45:58 -04:00
lex_test.go Instantiate lexer inline for the test 2016-08-29 09:20:43 +02:00
parse.go Add initial staleness handing to promql. 2017-05-16 18:33:51 +01:00
parse_test.go promql: misc fixes 2016-12-28 11:32:15 +01:00
printer.go promql: misc fixes 2016-12-28 11:32:15 +01:00
printer_test.go *: fix misc compile errors 2016-12-25 11:42:57 +01:00
promql_test.go Fix most golint warnings. 2015-08-26 12:44:46 +02:00
quantile.go Merge branch 'master' into dev-2.0 2017-04-27 10:19:55 +02:00
test.go retrieval/storage: adapt to new interface 2017-02-02 13:05:46 +01:00
value.go Add license to files. 2017-04-19 13:46:22 +01:00