mirror of
https://github.com/prometheus/prometheus
synced 2024-12-22 06:30:08 +00:00
ac4f8a5e23
* [ENHANCEMENT] TSDB: Improve calculation of space used by labels The labels for each series in the Head take up some some space in the Postings index, but far more space in the `memSeries` structure. Instead of having the Postings index calculate this overhead, which is a layering violation, have the caller pass in a function to do it. Provide three implementations of this function for the three Labels versions. Signed-off-by: Bryan Boreham <bjboreham@gmail.com> |
||
---|---|---|
.. | ||
labels_common.go | ||
labels_dedupelabels_test.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 |