prometheus/model/labels
Bryan Boreham 14b4fbc2ff labels: make InternStrings a no-op for stringlabels version
The current implementation of `InternStrings` will only save memory
when the whole set of labels is identical to one already seen, and this
cannot happen in the one place it is called from in Prometheus,
remote-write, which already detects identical series.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-01-29 18:54:54 +00:00
..
labels_common.go labels: extract common code between slice and stringlabels 2023-11-17 18:20:03 +00:00
labels_stringlabels.go labels: make InternStrings a no-op for stringlabels version 2024-01-29 18:54:54 +00:00
labels_test.go Labels: Add DropMetricName function, used in PromQL (#13446) 2024-01-25 11:48:49 +01:00
labels.go Labels: Add DropMetricName function, used in PromQL (#13446) 2024-01-25 11:48:49 +01:00
matcher_test.go feat: dont compile regex matcher if we know its a literal (#12434) 2023-06-07 21:54:30 +01:00
matcher.go
regexp_test.go
regexp.go feat: dont compile regex matcher if we know its a literal (#12434) 2023-06-07 21:54:30 +01: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
sharding.go Add ShardedPostings() support to TSDB (#10421) 2024-01-29 11:57:27 +00:00
test_utils.go labels: use ScratchBuilder in ReadLabels 2022-12-19 15:22:09 +00:00