prometheus/promql/parser
Owen Williams a28d7865ad UTF-8: Add support for parsing UTF8 metric and label names
This adds support for the new grammar of `{"metric_name", "l1"="val"}` to promql and some of the exposition formats.
This grammar will also be valid for non-UTF-8 names.
UTF-8 names will not be considered valid unless model.NameValidationScheme is changed.

This does not update the go expfmt parser in text_parse.go, which will be addressed by https://github.com/prometheus/common/issues/554/.

Part of https://github.com/prometheus/prometheus/issues/13095

Signed-off-by: Owen Williams <owen.williams@grafana.com>
2024-02-15 14:34:37 -05:00
..
posrange
ast.go
functions.go
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 UTF-8: Add support for parsing UTF8 metric and label names 2024-02-15 14:34:37 -05:00
lex.go
lex_test.go
parse.go UTF-8: Add support for parsing UTF8 metric and label names 2024-02-15 14:34:37 -05:00
parse_test.go UTF-8: Add support for parsing UTF8 metric and label names 2024-02-15 14:34:37 -05:00
prettier.go
prettier_rules.md
prettier_test.go
printer.go
printer_test.go
value.go