prometheus/tsdb
Ganesh Vernekar 21a5cf5d1d
Bring back tombstones to Head block (#6542)
* Bring back tombstones to Head block

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>

* Add test cases

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>

* Cleanup

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2020-01-20 21:08:00 +05:30
..
chunkenc Correct spelling mistakes 2019-10-10 18:46:27 +08:00
chunks Fixed race in Chunks method. (#6515) 2019-12-24 22:55:22 +01:00
cmd/tsdb Replace StringTuples with []string 2020-01-07 12:20:03 +00:00
docs/format Stream symbols during compaction. (#6468) 2019-12-17 19:49:54 +00:00
encoding Avoid WriteAt for Postings. 2019-12-16 15:30:49 +00:00
errors Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
fileutil Compute WAL size and use it during retention size checks (#5886) 2019-11-12 09:40:16 +07:00
goversion fix the wrong word (#6069) 2019-09-30 09:54:55 -06:00
index tsdb: writePostingsToTmpFiles returns nil instead of err (#6618) 2020-01-13 22:40:12 +00:00
record Spelling (#6517) 2020-01-02 15:54:09 +01:00
test Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
testdata Handle V1 indexes, some of which have unsorted posting offset tables. (#6564) 2020-01-06 14:06:11 +00:00
tombstones Bring back tombstones to Head block (#6542) 2020-01-20 21:08:00 +05:30
tsdbutil Removed extra tsdb/testutil after merge. 2019-08-14 10:12:32 +01:00
wal Exports metric for WAL write errors (#6647) 2020-01-17 12:12:04 -08:00
.gitignore Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
CHANGELOG.md Spelling (#6517) 2020-01-02 15:54:09 +01:00
README.md Edit TSDB README badges 2019-10-24 15:35:47 +05:30
block.go Replace StringTuples with []string 2020-01-07 12:20:03 +00:00
block_test.go Handle V1 indexes, some of which have unsorted posting offset tables. (#6564) 2020-01-06 14:06:11 +00:00
compact.go Move writing of index label indices into IndexWriter. 2019-12-17 22:15:35 +00:00
compact_test.go Expose DB.Compact() 2020-01-20 12:59:49 +05:30
db.go Expose DB.Compact() 2020-01-20 12:59:49 +05:30
db_test.go Bring back tombstones to Head block (#6542) 2020-01-20 21:08:00 +05:30
head.go Bring back tombstones to Head block (#6542) 2020-01-20 21:08:00 +05:30
head_bench_test.go Extend PostingsForMatchers benchmark to cover Blocks too. 2019-12-11 19:59:31 +00:00
head_test.go Bring back tombstones to Head block (#6542) 2020-01-20 21:08:00 +05:30
mocks_test.go Stream symbols during compaction. (#6468) 2019-12-17 19:49:54 +00:00
querier.go Replace StringTuples with []string 2020-01-07 12:20:03 +00:00
querier_bench_test.go Add benchmark for Querier.Select over blocks and head. 2019-12-17 18:56:58 +00:00
querier_test.go Replace StringTuples with []string 2020-01-07 12:20:03 +00:00
repair.go tsdb: add block meta version constant (#5994) 2019-09-09 12:28:01 +03:00
repair_test.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
tsdbblockutil.go Added CreateBlock and CreateHead functions to new file (#6331) 2019-11-21 19:10:25 +07:00
wal.go Spelling (#6517) 2020-01-02 15:54:09 +01:00
wal_test.go Spelling (#6517) 2020-01-02 15:54:09 +01:00

README.md

TSDB

GoDoc

This repository 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.