Darshan Chaudhary 1f688657bf
Call delete on head if interval overlaps (#9151)
* Call delete on head if interval overlaps

Signed-off-by: darshanime <deathbullet@gmail.com>

* Garbage collect tombstones during head gc

Signed-off-by: darshanime <deathbullet@gmail.com>

* Truncate tombstones before min time during head gc

Signed-off-by: darshanime <deathbullet@gmail.com>

* Lock less by deleting all keys in a single pass

Signed-off-by: darshanime <deathbullet@gmail.com>

* Pass map to DeleteTombstones

Signed-off-by: darshanime <deathbullet@gmail.com>

* Create new slice to replace old one

Signed-off-by: darshanime <deathbullet@gmail.com>
2021-09-16 12:20:03 +05:30
..
2021-08-27 10:24:14 +02:00
2021-08-30 19:34:38 +05:30
2021-08-27 10:24:14 +02:00
2021-08-27 10:24:14 +02:00
2021-08-30 19:34:38 +05:30
2021-07-20 18:08:08 +05:30
2021-06-11 12:28:36 -04:00
2021-06-11 12:28:36 -04:00
2021-02-22 20:28:02 +01:00
2021-06-11 12:28:36 -04:00
2021-06-11 12:28:36 -04:00
2021-08-28 22:42:22 -04:00
2021-07-29 12:38:11 +02:00
2021-06-17 07:18:51 -04:00
2021-06-11 12:28:36 -04:00
2021-06-11 12:28:36 -04:00
2021-08-27 10:24:14 +02:00
2021-06-11 12:28:36 -04:00

TSDB

GoPkg

This directory contains the Prometheus storage layer that is used in its 2.x releases.

A writeup of its design can be found here.

Based on the Gorilla TSDB white papers.

Video: Storing 16 Bytes at Scale from PromCon 2017.

See also the format documentation.

A series of blog posts explaining different components of TSDB: