mirror of
https://github.com/prometheus/prometheus
synced 2024-12-23 15:04:13 +00:00
d51a5344cd
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> |
||
---|---|---|
.. | ||
labels_common.go | ||
labels_dedupelabels.go | ||
labels_stringlabels.go | ||
labels_test.go | ||
labels.go | ||
matcher_test.go | ||
matcher.go | ||
regexp_test.go | ||
regexp.go | ||
sharding_dedupelabels.go | ||
sharding_stringlabels.go | ||
sharding_test.go | ||
sharding.go | ||
test_utils.go |