prometheus/promql
Brian Brazil 69f5fa0c1e promql: Add vector function.
Currently the only way to convert a scalar to a vector is to
use absent(), which isn't very clean. This adds a vector()
function that's the inverse of scalar() and lets your optionally
set labels.

Example usage would be
vector(time() % 86400) < 3600
to filter to only the first hour of the day.
2015-09-11 12:09:34 +01:00
..
testdata promql: Add vector function. 2015-09-11 12:09:34 +01:00
analyzer.go Fix grouping of import blocks 2015-08-22 09:42:45 +02:00
ast.go Merge pull request #1049 from prometheus/bool-nofilter 2015-09-03 15:08:38 +01:00
engine.go promql: Add 'bool' modifier to comparison functions 2015-09-02 14:51:44 +01:00
engine_test.go Fix "go vet" errors. 2015-08-26 02:05:04 +02:00
functions.go promql: Add vector function. 2015-09-11 12:09:34 +01:00
lex.go Merge pull request #1049 from prometheus/bool-nofilter 2015-09-03 15:08:38 +01:00
lex_test.go promql: Add 'bool' modifier to comparison functions 2015-09-02 14:51:44 +01:00
parse.go Merge pull request #1049 from prometheus/bool-nofilter 2015-09-03 15:08:38 +01:00
parse_test.go Merge pull request #1049 from prometheus/bool-nofilter 2015-09-03 15:08:38 +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. 2015-08-26 12:44:46 +02:00
quantile.go Switch promql types to common/model 2015-08-25 13:49:14 +02:00
test.go Fix most golint warnings. 2015-08-26 12:44:46 +02:00