prometheus/model
Bryan Boreham bd4fd1d2f7 [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>
2024-08-01 12:26:36 +01:00
..
exemplar Scraping: use slices.sort for exemplars 2023-11-24 14:42:26 +00:00
histogram Fix lint error 2024-06-24 09:33:03 +02:00
labels [ENHANCEMENT] TSDB: Improve calculation of space used by labels 2024-08-01 12:26:36 +01:00
metadata Fix: metadata API using wrong field names (#13633) 2024-02-26 09:53:39 +00:00
relabel Merge pull request #14004 from liam-howe-maersk/implement-config-marshal 2024-06-27 12:13:14 +02:00
rulefmt Feature: Allow configuration of a rule evaluation delay (#14061) 2024-05-30 11:49:50 +01:00
textparse Bump client_golang to 1.19 2024-03-06 09:11:13 -03:00
timestamp Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
value Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00