prometheus/promql/parser
Neeraj Gartia 8c7bf39d96
Moves TestNativeHistogram_MulDivOperator to promql testing framework (#14688)
PromQL: add test for mul and div operator

Also, remove the converted test from the engine_test.go file.

This also includes an extension of the test framework to allow NaN/Inf in histogram buckets.

---------

Signed-off-by: Neeraj Gartia <neerajgartia211002@gmail.com>
2024-08-29 16:42:35 +02:00
..
posrange Add warnings (and annotations) to PromQL query results (#12152) 2023-09-14 18:57:31 +02:00
ast.go lint: Revamp our linting rules, mostly around doc comments 2024-08-22 17:36:11 +02:00
functions.go promql: add histogram_avg function (#13467) 2024-02-01 18:28:42 +01:00
generated_parser.y support quoting in grouping label lists 2024-08-01 10:07:12 -04:00
generated_parser.y.go support quoting in grouping label lists 2024-08-01 10:07:12 -04:00
lex_test.go Moves TestNativeHistogram_MulDivOperator to promql testing framework (#14688) 2024-08-29 16:42:35 +02:00
lex.go Moves TestNativeHistogram_MulDivOperator to promql testing framework (#14688) 2024-08-29 16:42:35 +02:00
parse_test.go support quoting in grouping label lists 2024-08-01 10:07:12 -04:00
parse.go promqltest: add support for setting counter reset hint on histogram samples (#14537) 2024-07-31 09:53:05 +02:00
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
prettier.go Adds support for prettifying PromQL expression (#10544) 2022-07-07 18:13:36 +05:30
printer_test.go support quoting in grouping label lists 2024-08-01 10:07:12 -04:00
printer.go fix(utf8): ensure correct validation when legacy mode turned on (#14736) 2024-08-28 17:15:42 +02:00
value.go promql: use explicit type declare instead of string. (#7716) 2020-08-02 09:57:38 +01:00