Oleg Zaytsev 64a9abb8be
Change LabelValuesFor() to accept index.Postings (#14280)
The only call we have to LabelValuesFor() has an index.Postings, and we
expand it to pass to this method, which will iterate over the values.

That's a waste of resources: we can iterate on the index.Postings
directly.

If there's any downstream implementation that has a slice of series,
they can always do an index.ListPostings from them: doing that is
cheaper than expanding an abstract index.Postings.

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
2024-06-11 15:36:46 +02:00
..
2024-05-27 22:38:48 +02:00
2024-01-17 22:26:32 +08:00
2023-11-11 19:22:06 +01:00
2024-05-27 22:38:48 +02:00
2021-02-22 20:28:02 +01:00
2024-05-27 22:38:48 +02:00
2023-12-11 12:18:54 +00:00
2022-10-07 16:20:20 +00:00
2023-12-11 12:18:54 +00:00

TSDB

GoPkg

This directory contains the Prometheus TSDB (Time Series DataBase) library, which handles storage and querying of all Prometheus v2 data.

Documentation

External resources

A series of blog posts explaining different components of TSDB: