mirror of
https://github.com/prometheus/prometheus.git
synced 2026-03-28 17:01:03 +01:00
* Add series_state.json file creation and updation logic. Signed-off-by: Rushabh Mehta <mehtarushabh2005@gmail.com> * Make comments follow the guidelines. Signed-off-by: Rushabh Mehta <mehtarushabh2005@gmail.com> * Fix linter complaints Signed-off-by: Rushabh Mehta <mehtarushabh2005@gmail.com> * Put PR behind feature flag fast-startup Signed-off-by: Rushabh Mehta <mehtarushabh2005@gmail.com> * Marshal updated information to file directly Signed-off-by: Rushabh Mehta <mehtarushabh2005@gmail.com> * Fix linter failures Signed-off-by: Rushabh Mehta <mehtarushabh2005@gmail.com> * Move series state code from head.go to head_wal.go Signed-off-by: Rushabh Mehta <mehtarushabh2005@gmail.com> * Fix nits Signed-off-by: Rushabh Mehta <mehtarushabh2005@gmail.com> * Add unit test Signed-off-by: Rushabh Mehta <mehtarushabh2005@gmail.com> --------- Signed-off-by: Rushabh Mehta <mehtarushabh2005@gmail.com>
TSDB
This directory contains the Prometheus TSDB (Time Series DataBase) library, which handles storage and querying of all Prometheus v2 data.
Documentation
External resources
- A writeup of the original design can be found here.
- Video: Storing 16 Bytes at Scale from PromCon 2017.
- Compression is based on the Gorilla TSDB white paper.
A series of blog posts explaining different components of TSDB: