prometheus/model/labels
Domantas 435f330d0b
[BUGFIX] labels: don't modify original labels in DropMetricName (#13845)
Restrict the capacity of first argument to `append()` to force an allocation.
This is for the slice implementation only.

Signed-off-by: Domantas Jadenkus <djadenkus@gmail.com>
2024-03-27 10:35:17 +00: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 [BUGFIX] labels: don't modify original labels in DropMetricName (#13845) 2024-03-27 10:35:17 +00:00
matcher.go Further optimise FastRegexMatcher 2024-01-25 10:40:57 +01:00
matcher_test.go Further optimise FastRegexMatcher 2024-01-25 10:40:57 +01:00
regexp.go Use slices insteda of exp/slices 2024-03-25 12:20:18 +00:00
regexp_test.go Further optimise FastRegexMatcher 2024-01-25 10:40:57 +01: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