prometheus/model/labels
Oleg Zaytsev 03cf6141d4
Fix Matcher.String() with empty label name
When the label name is empty, which can happen now with quoted label
name, it should be quoted when printed as a string again.

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
2024-06-13 18:46:35 +02:00
..
labels.go [BUGFIX] labels: don't modify original labels in DropMetricName (#13845) 2024-03-27 10:35:17 +00:00
labels_common.go labels: optimize String method (#13673) 2024-03-12 11:34:03 +00:00
labels_dedupelabels.go Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 2024-02-28 14:54:53 +01:00
labels_stringlabels.go Improve readability 2024-03-18 11:16:09 +01:00
labels_test.go Enable perfsprint linter and fix up code 2024-05-15 17:51:05 +03:00
matcher.go Fix Matcher.String() with empty label name 2024-06-13 18:46:35 +02:00
matcher_test.go Quote label name in matchers when needed 2024-05-08 16:58:51 +02:00
regexp.go [BUGFIX] FastRegexpMatcher: do Unicode normalization as part of case-insensitive comparison (#14170) 2024-06-10 18:31:41 -04:00
regexp_test.go [BUGFIX] FastRegexpMatcher: do Unicode normalization as part of case-insensitive comparison (#14170) 2024-06-10 18:31:41 -04:00
sharding.go Add dedupelabels tag to not build regular labels 2024-02-23 13:50:27 +00:00
sharding_dedupelabels.go labels: update copyright dates 2024-02-26 11:45:25 +00:00
sharding_stringlabels.go Add ShardedPostings() support to TSDB (#10421) 2024-01-29 11:57:27 +00:00
sharding_test.go Add ShardedPostings() support to TSDB (#10421) 2024-01-29 11:57:27 +00:00
test_utils.go Labels: Call NewScratchBuilder in test_utils 2024-02-23 13:50:27 +00:00