Oleg Zaytsev ed172a6667
Optimize label values with matchers by taking shortcuts (#13426)
Don't calculate postings beforehand: we may not need them. If all
matchers are for the requested label, we can just filter its values.

Also, if there are no values at all, no need to run any kind of
logic.

Also add more labelValuesWithMatchers benchmarks

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
2024-01-23 11:40:21 +01:00
..
2023-12-31 10:23:43 +00:00
2023-12-11 12:18:54 +00:00
2024-01-17 22:26:32 +08:00
2024-01-17 22:26:32 +08:00
2024-01-17 22:26:32 +08:00
2023-11-11 19:22:06 +01:00
2023-12-11 12:18:54 +00:00
2023-12-11 12:18:54 +00:00
2023-12-11 12:18:54 +00:00
2021-02-22 20:28:02 +01:00
2023-12-11 12:18:54 +00:00
2023-12-12 09:58:54 +00:00
2023-12-11 12:18:54 +00:00
2023-12-11 12:18:54 +00:00
2023-12-11 12:18:54 +00:00
2023-12-11 12:18:54 +00:00
2023-12-11 12:18:54 +00: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
2024-01-17 22:26:32 +08: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: