prometheus/promql/parser
George Krajcsovits 457a2381f9
fix(parser): revert pr 16041 and 16754 (#16996)
* fix(parser): revert pr 16041 and 16754

Fix for https://github.com/prometheus/prometheus/issues/16053
turned out to be too complicated and lead to more errors than it solved.
See https://github.com/prometheus/prometheus/pull/16875.

* add TODOs to wrong end positions
* restore test and fix initialization bug

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2025-08-05 10:48:08 +02:00
..
posrange Add warnings (and annotations) to PromQL query results (#12152) 2023-09-14 18:57:31 +02:00
ast.go Add step(), min(a,b) and max(a,b) in promql duration expressions 2025-07-02 11:17:17 +02:00
functions.go promql: add ts_of_(max,min,last)_over_time functions 2025-06-12 15:03:28 +00:00
generated_parser.y fix(parser): revert pr 16041 and 16754 (#16996) 2025-08-05 10:48:08 +02:00
generated_parser.y.go fix(parser): revert pr 16041 and 16754 (#16996) 2025-08-05 10:48:08 +02:00
lex_test.go Merge pull request #16249 from roidelapluie/arythmetics 2025-04-22 10:17:41 +02:00
lex.go Add step(), min(a,b) and max(a,b) in promql duration expressions 2025-07-02 11:17:17 +02:00
parse_test.go fix(parser): revert pr 16041 and 16754 (#16996) 2025-08-05 10:48:08 +02:00
parse.go fix(parser): revert pr 16041 and 16754 (#16996) 2025-08-05 10:48:08 +02:00
prettier_rules.md Adds support for prettifying PromQL expression (#10544) 2022-07-07 18:13:36 +05:30
prettier_test.go Move calculation to the engine 2025-04-03 10:56:02 +02:00
prettier.go PromQL: min/max/step: add more tests 2025-07-02 11:17:17 +02:00
printer_test.go PromQL: Fix printing +min() 2025-07-02 11:17:17 +02:00
printer.go PromQL: Fix printing +min() 2025-07-02 11:17:17 +02:00
value.go promql: use explicit type declare instead of string. (#7716) 2020-08-02 09:57:38 +01:00