prometheus/rules
Julius Volz c2ab54e9a6 Support scientific notation and special float values.
This adds support for scientific notation in the expression language, as
well as for all possible literal forms of +Inf/-Inf/NaN.

TODO: Keep enough state in the parser/lexer to distinguish contexts in
which "Inf", "NaN", etc. should be parsed as a number vs. parsed as a
label name. Currently, foo{nan="bar"} would be a syntax error. However,
that is an existing bug for all our reserved words. E.g. foo{sum="bar"}
is a syntax error as well. This should be fixed separately.
2015-03-01 19:31:16 +01:00
..
ast Avoid copying of the COWMetric if we already have the metric available. 2015-02-22 01:04:52 +01:00
fixtures Add alertmanager notification support to Prometheus. 2013-07-30 17:23:41 +02:00
manager Fix rule manager shutdown. 2015-01-29 15:05:10 +01:00
alerting.go Clean up license issues. 2015-01-21 20:07:45 +01:00
helpers_test.go Fix plural of 'histogram'. 2015-02-23 15:29:26 +01:00
helpers.go Implement offset operator. 2015-02-18 02:41:27 +01:00
lexer.l Support scientific notation and special float values. 2015-03-01 19:31:16 +01:00
lexer.l.go Support scientific notation and special float values. 2015-03-01 19:31:16 +01:00
load.go Clean up license issues. 2015-01-21 20:07:45 +01:00
Makefile Clean up license issues. 2015-01-21 20:07:45 +01:00
parser.y Implement offset operator. 2015-02-18 02:41:27 +01:00
parser.y.go Implement offset operator. 2015-02-18 02:41:27 +01:00
recording.go Clean up license issues. 2015-01-21 20:07:45 +01:00
rules_test.go Support scientific notation and special float values. 2015-03-01 19:31:16 +01:00
rules.go Clean up license issues. 2015-01-21 20:07:45 +01:00