prometheus/model/labels
Bryan Boreham d51a5344cd labels: new version de-duplicating strings in SymbolTables
The individual strings for label names and values are held in a table,
and each Labels value is a run of varint-encoded indexes into that table.

When creating new labels, a sync.Mutex is locked around reads and writes.
When reading labels, there is no locking because the table of strings
used by those labels is immutable.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-02-23 13:50:27 +00:00
..
labels_common.go Labels: move Builder and Reset out of common 2024-02-23 13:50:27 +00:00
labels_dedupelabels.go labels: new version de-duplicating strings in SymbolTables 2024-02-23 13:50:27 +00:00
labels_stringlabels.go Labels: add fake versions of SymbolTable apis 2024-02-23 13:50:27 +00:00
labels_test.go labels tests: extend TestBuilder 2024-02-23 13:50:27 +00:00
labels.go Labels: add fake versions of SymbolTable apis 2024-02-23 13:50:27 +00: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_dedupelabels.go labels: new version de-duplicating strings in SymbolTables 2024-02-23 13:50:27 +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
sharding.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