prometheus/promql
Thomas Jackson 404abe0f1c Bubble up errors to promql from populating iterators (#4136)
This changes the Walk/Inspect API inside the promql package to bubble
up errors. This is done by having the inspector return an error (instead
of a bool) and then bubbling that up in the Walk. This way if any error
is encountered in the Walk() the walk will stop and return the error.
This avoids issues where errors from the Querier where being ignored
(causing incorrect promql evaluation).

Signed-off-by: Thomas Jackson <jacksontj.89@gmail.com>

Fixes #4136
2018-06-07 17:27:34 +01:00
..
fuzz-data textparse: Add fuzzing and fix bug caught 2017-07-07 11:12:17 +02:00
testdata Optimise PromQL (#3966) 2018-06-04 15:47:45 +02:00
ast.go Bubble up errors to promql from populating iterators (#4136) 2018-06-07 17:27:34 +01:00
bench_test.go Optimise PromQL (#3966) 2018-06-04 15:47:45 +02:00
engine.go Bubble up errors to promql from populating iterators (#4136) 2018-06-07 17:27:34 +01:00
engine_test.go promql: propagate storage errors 2018-03-14 15:19:22 +01:00
functions.go promql: fix unconvert issues (#4040) 2018-06-06 18:20:38 +01:00
functions_test.go Optimise PromQL (#3966) 2018-06-04 15:47:45 +02:00
fuzz.go textparse: Add fuzzing and fix bug caught 2017-07-07 11:12:17 +02:00
lex.go Expose itemtype outside the package (#3933) 2018-03-08 16:52:44 +00:00
lex_test.go Remove keep_common modifier. 2017-10-05 13:27:48 +01:00
parse.go Make some lexing errors more informative (#4167) 2018-05-16 16:18:15 +01:00
parse_test.go Fix spelling mistakes found by codespell (#4065) 2018-04-27 13:04:02 +01:00
printer.go promql: Make printer formatting less vintage (#3721) 2018-01-22 11:14:59 +01:00
printer_test.go promql: Make printer formatting less vintage (#3721) 2018-01-22 11:14:59 +01:00
promql_test.go Fix most golint warnings. 2015-08-26 12:44:46 +02:00
quantile.go promql: fix unconvert issues (#4040) 2018-06-06 18:20:38 +01:00
test.go Optimise PromQL (#3966) 2018-06-04 15:47:45 +02:00
value.go Add license to files. 2017-04-19 13:46:22 +01:00