mirror of
https://github.com/prometheus/prometheus.git
synced 2026-03-02 13:20:26 -05:00
* [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.go | ||
| labels_common.go | ||
| labels_dedupelabels.go | ||
| labels_dedupelabels_test.go | ||
| labels_stringlabels.go | ||
| labels_test.go | ||
| matcher.go | ||
| matcher_test.go | ||
| regexp.go | ||
| regexp_test.go | ||
| sharding.go | ||
| sharding_dedupelabels.go | ||
| sharding_stringlabels.go | ||
| sharding_test.go | ||
| test_utils.go | ||