mirror of
https://github.com/prometheus/prometheus
synced 2025-01-14 02:43:35 +00:00
c2ab54e9a6
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. |
||
---|---|---|
.. | ||
ast | ||
fixtures | ||
manager | ||
alerting.go | ||
helpers_test.go | ||
helpers.go | ||
lexer.l | ||
lexer.l.go | ||
load.go | ||
Makefile | ||
parser.y | ||
parser.y.go | ||
recording.go | ||
rules_test.go | ||
rules.go |