Go to file
Ganesh Vernekar 3bc1ea3d75
Reuse byte buffer in WriteChunks and writeHash (#653)
* Re-use byte buffer in WriteChunks and writeHash

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

* Add CHANGELOG entry

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

* Fix review comments

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

* Remove old comment

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2019-07-12 18:42:34 +05:30
.github github template for PRs (#624) 2019-06-07 10:43:04 +02:00
chunkenc Reuse Chunk Iterator (#642) 2019-07-09 15:19:34 +05:30
chunks Reuse byte buffer in WriteChunks and writeHash (#653) 2019-07-12 18:42:34 +05:30
cmd/tsdb Print label names with highest cumulative label value length during tsdb analyze (#626) 2019-06-21 11:07:50 +03:00
docs/format docs: add label offset table and postings offset table (#593) 2019-05-02 23:23:58 +03: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 comment 2019-06-24 11:51:49 +03:00
goversion remove Fsync workaround for macos. (#574) 2019-04-03 11:16:54 +03:00
index Breakdown generic writeOffsetTable (#643) 2019-07-10 12:01:44 +05:30
labels Optimize queries using regex matchers for set lookups (#602) 2019-05-27 16:54:46 +05:30
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 Provide option to compress WAL records (#609) 2019-06-19 16:46:24 +03:00
tsdbutil Add license headers to missing files (#447) 2018-11-06 20:19:42 +02:00
wal wal: Inject LiveReader metrics rather than registry 2019-07-03 14:39:25 +02:00
.gitignore Add default benchmark output dir to .gitignore 2018-01-14 11:07:52 +00:00
.golangci.yml Synchronize Makefile.common from prometheus/prometheus (#591) 2019-04-25 12:29:09 +03:00
.travis.yml remove Fsync workaround for macos. (#574) 2019-04-03 11:16:54 +03:00
block_test.go Re-encode chunks that are still being appended to when snapshoti… (#641) 2019-07-03 13:47:31 +03:00
block.go Check error before wrapping 2019-07-02 16:05:27 +05:30
CHANGELOG.md Reuse Chunk Iterator (#642) 2019-07-09 15:19:34 +05:30
checkpoint_test.go Provide option to compress WAL records (#609) 2019-06-19 16:46:24 +03:00
checkpoint.go Provide option to compress WAL records (#609) 2019-06-19 16:46:24 +03:00
compact_test.go fix two benchmarks (#631) 2019-06-14 14:30:49 +02:00
compact.go Reuse Chunk Iterator (#642) 2019-07-09 15:19:34 +05:30
db_test.go Re-encode chunks that are still being appended to when snapshoti… (#641) 2019-07-03 13:47:31 +03:00
db.go Re-encode chunks that are still being appended to when snapshoti… (#641) 2019-07-03 13:47:31 +03:00
go.mod Provide option to compress WAL records (#609) 2019-06-19 16:46:24 +03:00
go.sum Provide option to compress WAL records (#609) 2019-06-19 16:46:24 +03:00
head_bench_test.go Simplify mergedPostings.Seek (#595) 2019-05-13 10:51:07 +01:00
head_test.go Reuse Chunk Iterator (#642) 2019-07-09 15:19:34 +05:30
head.go Reuse Chunk Iterator (#642) 2019-07-09 15:19:34 +05:30
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 Synchronize Makefile.common from prometheus/prometheus (#640) 2019-06-26 12:06:29 +03:00
mocks_test.go Reuse Chunk Iterator (#642) 2019-07-09 15:19:34 +05:30
querier_test.go Reuse Chunk Iterator (#642) 2019-07-09 15:19:34 +05:30
querier.go Reuse Chunk Iterator (#642) 2019-07-09 15:19:34 +05:30
README.md README: move the build badge to the badge list (#555) 2019-03-18 14:44:58 +02:00
record_test.go Add test for be64() in encoding/encoding.go (#521) (#533) 2019-02-23 11:51:47 +02:00
record.go Merge encoding_helpers.go to tsdbutil (#526) 2019-02-22 19:11:11 +02:00
repair_test.go refactor block size calculation (#637) 2019-06-24 18:42:29 +03:00
repair.go refactor block size calculation (#637) 2019-06-24 18:42:29 +03:00
tombstones_test.go refactor block size calculation (#637) 2019-06-24 18:42:29 +03:00
tombstones.go refactor block size calculation (#637) 2019-06-24 18:42:29 +03:00
wal_test.go Provide option to compress WAL records (#609) 2019-06-19 16:46:24 +03:00
wal.go Provide option to compress WAL records (#609) 2019-06-19 16:46:24 +03:00

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.