prometheus/model/labels
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
..
labels.go lint: Revamp our linting rules, mostly around doc comments 2024-08-22 17:36:11 +02:00
labels_common.go promql: Fix various UTF-8 bugs related to quoting 2024-12-04 14:18:59 -05:00
labels_dedupelabels.go Labels: use single byte as separator - small speedup 2024-07-15 09:47:16 +01:00
labels_dedupelabels_test.go
labels_stringlabels.go Neater string vs byte-slice conversions (#14425) 2024-09-21 12:19:21 +02:00
labels_test.go promql: Fix various UTF-8 bugs related to quoting 2024-12-04 14:18:59 -05:00
matcher.go
matcher_test.go
regexp.go FastRegexMatcher: use stack memory for lowercase copy of string 2024-10-28 16:28:58 +00:00
regexp_test.go FastRegexMatcher: use stack memory for lowercase copy of string 2024-10-28 16:28:58 +00:00
sharding.go Labels: use single byte as separator - small speedup 2024-07-15 09:47:16 +01:00
sharding_dedupelabels.go Labels: use single byte as separator - small speedup 2024-07-15 09:47:16 +01:00
sharding_stringlabels.go Labels: use single byte as separator - small speedup 2024-07-15 09:47:16 +01:00
sharding_test.go
test_utils.go