prometheus/model
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
..
exemplar Scraping: use slices.sort for exemplars 2023-11-24 14:42:26 +00:00
histogram Optimize histogram iterators (#13340) 2024-01-23 17:02:14 +01:00
labels model/labels: Fix new lint warning in test 2024-02-07 18:12:26 +01:00
metadata Move metric type definitions to common/model 2023-12-19 18:56:54 +00:00
relabel Tests: use replacement DeepEquals in more places 2024-02-08 19:32:33 +00:00
rulefmt golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
textparse UTF-8: Add support for parsing UTF8 metric and label names 2024-02-15 14:34:37 -05:00
timestamp Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
value Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00