Go to file
Tom Wilkie bc3b0bd429
Test to corrupt segments mid-WAL, repair and check we can read the correct number of records. (#528)
Test to corrupt segments mid-WAL, repair and check we can read the correct number of records.

Make segmentBufReader pad short segments with zeros, and only advance curr segment index after fully reading segment.
2019-02-18 19:05:07 +00:00
chunkenc Remove pointer indirection on chunk bstream (#499) 2019-02-13 23:41:12 +01:00
chunks Vertical query merging and compaction (#370) 2019-02-14 14:29:41 +01:00
cmd/tsdb Merge branch 'master' into update-makefile-common 2019-01-22 10:47:31 +01:00
docs/format update labels count, chunks count 2019-02-06 10:00:18 +08:00
fileutil Update Makefile.common 2019-01-04 16:08:43 +01:00
index Update encoding_helpers.go (len of be64 should be 8) (#521) 2019-02-13 11:04:21 +02:00
labels fix statick check errors (#475) 2019-01-02 19:48:42 +03:00
test index: simplify checksum validation 2017-11-09 15:58:36 +00:00
testdata Add repair test 2018-02-09 13:43:42 +01:00
testutil Test to corrupt segments mid-WAL, repair and check we can read the correct number of records. (#528) 2019-02-18 19:05:07 +00:00
tsdbutil Add license headers to missing files (#447) 2018-11-06 20:19:42 +02:00
wal Test to corrupt segments mid-WAL, repair and check we can read the correct number of records. (#528) 2019-02-18 19:05:07 +00:00
.gitignore Add default benchmark output dir to .gitignore 2018-01-14 11:07:52 +00:00
.travis.yml fix statick check errors (#475) 2019-01-02 19:48:42 +03:00
CHANGELOG.md Vertical query merging and compaction (#370) 2019-02-14 14:29:41 +01:00
LICENSE Add license file 2017-04-10 21:02:42 +02:00
MAINTAINERS.md add maintainers file (#404) 2018-10-15 14:32:00 +03:00
Makefile fix statick check errors (#475) 2019-01-02 19:48:42 +03:00
Makefile.common Update Makefile.common 2019-02-07 15:06:10 +01:00
README.md comments about the 120samples const and link to Gorilla papers. (#423) 2018-10-23 13:43:06 +03:00
block.go Vertical query merging and compaction (#370) 2019-02-14 14:29:41 +01:00
block_test.go Vertical query merging and compaction (#370) 2019-02-14 14:29:41 +01:00
checkpoint.go Delete temp checkpoint folder on error. (#415) 2019-01-07 11:43:33 +03:00
checkpoint_test.go Delete temp checkpoint folder on error. (#415) 2019-01-07 11:43:33 +03:00
compact.go Vertical query merging and compaction (#370) 2019-02-14 14:29:41 +01:00
compact_test.go Vertical query merging and compaction (#370) 2019-02-14 14:29:41 +01:00
db.go Vertical query merging and compaction (#370) 2019-02-14 14:29:41 +01:00
db_test.go Vertical query merging and compaction (#370) 2019-02-14 14:29:41 +01:00
encoding_helpers.go Remove more unused code 2019-01-07 14:45:17 +01:00
go.mod Use Go modules (#454) 2018-11-28 11:39:56 +01:00
go.sum Use Go modules (#454) 2018-11-28 11:39:56 +01:00
head.go Vertical query merging and compaction (#370) 2019-02-14 14:29:41 +01:00
head_bench_test.go Move series fetches out of inner loop of SortedPostings. (#485) 2019-01-03 10:35:10 +00:00
head_test.go Vertical query merging and compaction (#370) 2019-02-14 14:29:41 +01:00
mocks_test.go Vertical query merging and compaction (#370) 2019-02-14 14:29:41 +01:00
querier.go Vertical query merging and compaction (#370) 2019-02-14 14:29:41 +01:00
querier_test.go Vertical query merging and compaction (#370) 2019-02-14 14:29:41 +01:00
record.go fix lint errors (#439) 2018-11-14 18:40:01 +02:00
record_test.go Add checkpointing of WAL segments 2018-07-19 07:24:40 -04:00
repair.go use a global indexFilename constant 2019-01-29 10:32:32 +02:00
repair_test.go use a global indexFilename constant 2019-01-29 10:32:32 +02:00
tombstones.go Added storage size based retention method and new metrics (#343) 2019-01-16 13:03:52 +03:00
tombstones_test.go Merge branch 'master' into update-makefile-common 2019-01-22 10:47:31 +01:00
wal.go fix statick check errors (#475) 2019-01-02 19:48:42 +03:00
wal_test.go fix statick check errors (#475) 2019-01-02 19:48:42 +03:00

README.md

TSDB Build Status

GoDoc Go Report Card

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.