prometheus/promql/parser
Clayton Peters 6b4bf3f697 PromQL: Fix start and end keywords masking label and metric names
This commit fixes an issue with the "at modifier" that introduced two
new keywords: `start` and `end`. In grouping options and in metric
names, these keywords took precedence over metric or label names, so
that those metrics and labels could no longer be referenced.

Signed-off-by: Clayton Peters <clayton.peters@man.com>
2021-07-27 10:54:33 +01:00
..
ast.go Add circular in-memory exemplars storage (#6635) 2021-03-16 15:17:45 +05:30
functions.go promql: Add sgn, clamp and last_over_time functions (#8457) 2021-02-20 16:34:52 +01:00
generated_parser.y PromQL: Fix start and end keywords masking label and metric names 2021-07-27 10:54:33 +01:00
generated_parser.y.go PromQL: Fix start and end keywords masking label and metric names 2021-07-27 10:54:33 +01:00
lex.go Prevent lexer from seeking to next rune after lexing escape sequence. (#8517) 2021-02-19 07:38:05 +01:00
lex_test.go Add start() and end() pre-processors for @ modifier (#8425) 2021-02-09 21:33:16 +05:30
parse.go Replace godoc.org links 2021-06-17 07:18:51 -04:00
parse_test.go PromQL: Fix start and end keywords masking label and metric names 2021-07-27 10:54:33 +01:00
printer.go add negative offset to printer 2021-02-23 21:16:28 -05:00
printer_test.go add negative offset to printer 2021-02-23 21:16:28 -05:00
value.go promql: use explicit type declare instead of string. (#7716) 2020-08-02 09:57:38 +01:00