prometheus/promql/parser
Owen Williams 8d4bcd2c77 promql: Fix various UTF-8 bugs related to quoting
Fixes UTF-8 aggregator label list items getting mutated with quote marks when String-ified.
Fixes quoted metric names not supported in metric declarations.
Fixes UTF-8 label names not being quoted when String-ified.

Fixes https://github.com/prometheus/prometheus/issues/15470
Fixes https://github.com/prometheus/prometheus/issues/15528

Signed-off-by: Owen Williams <owen.williams@grafana.com>
Co-authored-by: Bryan Boreham <bjboreham@gmail.com>
2024-12-04 14:18:59 -05:00
..
posrange Add warnings (and annotations) to PromQL query results (#12152) 2023-09-14 18:57:31 +02:00
ast.go [FEATURE] PromQL: Add experimental info function MVP (#14495) 2024-10-16 13:52:11 +01:00
functions.go v2.55.0 2024-10-25 14:16:22 +02:00
generated_parser.y promql: Fix various UTF-8 bugs related to quoting 2024-12-04 14:18:59 -05:00
generated_parser.y.go promql: Fix various UTF-8 bugs related to quoting 2024-12-04 14:18:59 -05:00
lex.go Use a function to determine if an aggregation function is experimental (#15331) 2024-11-15 15:09:50 +01:00
lex_test.go Moves TestNativeHistogram_MulDivOperator to promql testing framework (#14688) 2024-08-29 16:42:35 +02:00
parse.go promql: Fix various UTF-8 bugs related to quoting 2024-12-04 14:18:59 -05:00
parse_test.go promql: Fix various UTF-8 bugs related to quoting 2024-12-04 14:18:59 -05:00
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 promql: Fix various UTF-8 bugs related to quoting 2024-12-04 14:18:59 -05:00
printer_test.go support quoting in grouping label lists 2024-08-01 10:07:12 -04:00
value.go