prometheus/promql
Brian Brazil 43c6b6557c promql: Add 'bool' modifier to comparison functions
When doing comparison operations on vectors, filtering
sometimes gets in the way and you have to go to a fair bit of
effort to workaround it in order to always return a result.
The 'bool' modifier instead of filtering returns 0/1 depending
on the result of the compairson.

This is also a prerequisite to removing plain scalar/scalar comparisons,
as it maintains the current behaviour under a new syntax.
2016-01-11 16:48:13 +01:00
..
testdata promql: Add 'bool' modifier to comparison functions 2016-01-11 16:48:13 +01:00
analyzer.go Fix grouping of import blocks 2015-08-22 09:42:45 +02:00
ast.go promql: Add 'bool' modifier to comparison functions 2016-01-11 16:48:13 +01:00
engine.go promql: Add 'bool' modifier to comparison functions 2016-01-11 16:48:13 +01:00
engine_test.go Fix "go vet" errors. 2016-01-11 16:48:11 +01:00
functions.go Change relabel_replace() to do full-string matches. 2016-01-11 16:48:12 +01:00
lex.go promql: Add 'bool' modifier to comparison functions 2016-01-11 16:48:13 +01:00
lex_test.go promql: Add 'bool' modifier to comparison functions 2016-01-11 16:48:13 +01:00
parse.go promql: Add 'bool' modifier to comparison functions 2016-01-11 16:48:13 +01:00
parse_test.go promql: Add 'bool' modifier to comparison functions 2016-01-11 16:48:13 +01:00
printer.go Switch promql types to common/model 2015-08-25 13:49:14 +02:00
printer_test.go Deprecate keeping_extra, rename it to keep_common. 2015-06-12 14:21:05 +02:00
promql_test.go Fix most golint warnings. 2016-01-11 16:48:11 +01:00
quantile.go Switch promql types to common/model 2015-08-25 13:49:14 +02:00
test.go Fix most golint warnings. 2016-01-11 16:48:11 +01:00