Go to file
Krasi Georgiev e46ec89de6
use fsync to force persisting the meta file. (#573)
* use fsync to force persisting the meta file.

Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
2019-04-01 16:23:45 +03:00
chunkenc Remove obsolete FromData function (#540) 2019-03-06 11:12:28 +02:00
chunks Fix exported function comments (#566) 2019-03-25 10:17:28 +02:00
cmd/tsdb Fixed default benchmark test path (#571) 2019-03-27 16:33:59 +02:00
docs/format docs: add multi chunks layout in chunks readme file (#567) 2019-03-25 12:33:38 +02:00
encoding Fix exported function comments (#566) 2019-03-25 10:17:28 +02:00
errors Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 2019-03-19 15:31:57 +02:00
fileutil Update Makefile.common 2019-01-04 16:08:43 +01:00
index index: reduce empty postings trees (#509) 2019-03-21 18:23:00 +02:00
labels Fix exported function comments (#566) 2019-03-25 10:17:28 +02: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 createBlock and check all os.RemoveAll in the tests for errors. (#549) 2019-03-19 15:31:57 +02:00
.gitignore Add default benchmark output dir to .gitignore 2018-01-14 11:07:52 +00:00
.travis.yml Add Go 1.12 to Travis CI (#538) 2019-03-04 21:44:40 +02:00
CHANGELOG.md use fsync to force persisting the meta file. (#573) 2019-04-01 16:23:45 +03: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 Update Makefile.common (#548) 2019-03-13 10:40:17 +02:00
Makefile.common Update Makefile.common (#548) 2019-03-13 10:40:17 +02:00
README.md README: move the build badge to the badge list (#555) 2019-03-18 14:44:58 +02:00
block.go use fsync to force persisting the meta file. (#573) 2019-04-01 16:23:45 +03:00
block_test.go Verify chunk format version (#544) 2019-03-24 22:33:08 +02:00
checkpoint.go Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 2019-03-19 15:31:57 +02:00
checkpoint_test.go Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 2019-03-19 15:31:57 +02:00
compact.go Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 2019-03-19 15:31:57 +02:00
compact_test.go Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 2019-03-19 15:31:57 +02:00
db.go Add Head.compactable method (#542) 2019-04-01 11:19:06 +03:00
db_test.go Added ability to create db with NopWal (#519) 2019-03-26 01:38:12 +02: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 Add Head.compactable method (#542) 2019-04-01 11:19:06 +03:00
head_bench_test.go Improve Merge performance (#531) 2019-02-28 17:23:55 +00:00
head_test.go Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 2019-03-19 15:31:57 +02:00
mocks_test.go Vertical query merging and compaction (#370) 2019-02-14 14:29:41 +01:00
querier.go index: reduce empty postings trees (#509) 2019-03-21 18:23:00 +02:00
querier_test.go Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 2019-03-19 15:31:57 +02:00
record.go Merge encoding_helpers.go to tsdbutil (#526) 2019-02-22 19:11:11 +02:00
record_test.go Add test for be64() in encoding/encoding.go (#521) (#533) 2019-02-23 11:51:47 +02:00
repair.go use a global indexFilename constant 2019-01-29 10:32:32 +02:00
repair_test.go Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 2019-03-19 15:31:57 +02:00
tombstones.go Merge encoding_helpers.go to tsdbutil (#526) 2019-02-22 19:11:11 +02:00
tombstones_test.go Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 2019-03-19 15:31:57 +02:00
wal.go Merge encoding_helpers.go to tsdbutil (#526) 2019-02-22 19:11:11 +02:00
wal_test.go Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 2019-03-19 15:31:57 +02: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.