Bryan Boreham 26fa2e8356 TSDB: Pre-size buffer to read samples from WAL
When reading the WAL this method is called with buffers from a pool, on
multiple goroutines. Pre-allocating sufficient size avoids slow growth
and many reallocations in `append`.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-10-17 17:31:26 +00:00
..
2023-10-16 16:23:26 +02:00
2023-09-21 22:53:51 +02:00
2021-02-22 20:28:02 +01:00
2023-10-16 16:23:26 +02:00
2023-10-16 16:23:26 +02:00
2023-09-21 22:53:51 +02:00
2023-09-21 22:53:51 +02:00
2023-09-21 22:53:51 +02:00
2022-10-07 16:20:20 +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: