prometheus/promql/parser
Pranshu Srivastava 3c9e3ee552
parser: support underscores
Support underscores in numbers, namely, decimals, hexadecimals, and
exponentials.

Fixes #12769
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>

Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2024-06-27 19:20:52 +05:30
..
posrange Add warnings (and annotations) to PromQL query results (#12152) 2023-09-14 18:57:31 +02:00
ast.go Implement histogram statistics decoder (#14097) 2024-06-06 17:17:13 +02:00
functions.go promql: add histogram_avg function (#13467) 2024-02-01 18:28:42 +01:00
generated_parser.y UTF-8: Add support for parsing UTF8 metric and label names 2024-02-15 14:34:37 -05:00
generated_parser.y.go parser: remake generated_parser output (#13923) 2024-04-13 12:59:54 +02:00
lex.go parser: support underscores 2024-06-27 19:20:52 +05:30
lex_test.go parser: support underscores 2024-06-27 19:20:52 +05:30
parse.go golangci-lint: enable whitespace linter (#13905) 2024-04-11 09:27:54 +01:00
parse_test.go parser: support underscores 2024-06-27 19:20:52 +05:30
prettier.go Adds support for prettifying PromQL expression (#10544) 2022-07-07 18:13:36 +05:30
prettier_rules.md Adds support for prettifying PromQL expression (#10544) 2022-07-07 18:13:36 +05:30
prettier_test.go Prettifier: Add spaces with non-callable keywords (#11005) 2022-07-15 00:09:56 +02:00
printer.go Fix parser.VectorSelector.String() with empty name matcher (#14015) 2024-05-06 11:51:08 +02:00
printer_test.go Quote label name in matchers when needed 2024-05-08 16:58:51 +02:00
value.go promql: use explicit type declare instead of string. (#7716) 2020-08-02 09:57:38 +01:00