prometheus/model/labels
Bartlomiej Plotka a4da440dad
fix: Fix slicelabels corruption when used with proto decoding (#17150)
* fix: Fix slicelabels corruption when used with proto decoding

Alternative to https://github.com/prometheus/prometheus/pull/16957/

Signed-off-by: bwplotka <bwplotka@gmail.com>

* addressed comments

Signed-off-by: bwplotka <bwplotka@gmail.com>

---------

Signed-off-by: bwplotka <bwplotka@gmail.com>
2025-10-07 12:06:48 +01:00
..
labels_common.go fix(textparse/protobuf): metric family name corrupted by NHCB parser (#17156) 2025-09-08 17:26:41 +02:00
labels_dedupelabels.go fix: Fix slicelabels corruption when used with proto decoding (#17150) 2025-10-07 12:06:48 +01:00
labels_dedupelabels_test.go Add ByteSize method for Labels (#16717) 2025-07-04 15:09:01 +01:00
labels_slicelabels.go fix: Fix slicelabels corruption when used with proto decoding (#17150) 2025-10-07 12:06:48 +01:00
labels_slicelabels_test.go fix: Fix slicelabels corruption when used with proto decoding (#17150) 2025-10-07 12:06:48 +01:00
labels_stringlabels.go fix: Fix slicelabels corruption when used with proto decoding (#17150) 2025-10-07 12:06:48 +01:00
labels_stringlabels_test.go Add ByteSize method for Labels (#16717) 2025-07-04 15:09:01 +01:00
labels_test.go Replace gopkg.in/yaml.v2 with go.yaml.in/yaml/v2 (#17151) 2025-09-06 13:04:24 +02:00
matcher.go Fix Matcher.String() with empty label name 2024-06-13 18:46:35 +02:00
matcher_test.go [PERF] Regex: stop calling Simplify 2025-09-18 11:20:14 +01:00
regexp.go [PERF] Regex: stop calling Simplify 2025-09-18 11:20:14 +01:00
regexp_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
sharding.go Use stringlabels by default 2025-04-15 17:52:24 +01:00
sharding_dedupelabels.go Labels: use single byte as separator - small speedup 2024-07-15 09:47:16 +01:00
sharding_stringlabels.go Use stringlabels by default 2025-04-15 17:52:24 +01: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