Go to file
Brian Brazil 910f3021b0
Use sampleBuf instead of maintaining lastValue. (#444)
This cuts the size of memSize by 8B.

Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2018-11-14 14:02:32 +00:00
chunkenc fix some comments typos (#315) 2018-04-08 10:28:30 +01:00
chunks Make interval overlap comparisons more explicit 2018-07-02 10:35:08 +02:00
cmd/tsdb Using filepath.Join() instead of strings with slashes (#428) 2018-10-25 10:32:57 +01:00
docs/format add missing zero to tombstone magic number (#448) 2018-11-09 13:37:02 +02:00
fileutil Add license headers to missing files (#447) 2018-11-06 20:19:42 +02:00
index LabelNames() method to get all unique label names (#369) 2018-11-07 17:52:41 +02:00
labels FromMap(), sorts and returns instead of calling New() (#433) 2018-11-14 13:43:03 +01: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 fileutil: remove dependency on prometheus/prometheus 2018-10-15 17:21:20 +02:00
tsdbutil Add license headers to missing files (#447) 2018-11-06 20:19:42 +02:00
wal few more comments to explain the WAL workflow (#430) 2018-11-08 10:27:16 +02:00
.gitignore Add default benchmark output dir to .gitignore 2018-01-14 11:07:52 +00:00
.travis.yml Add license headers to missing files (#447) 2018-11-06 20:19:42 +02: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 Refactor Makefile to use Makefile.common (#324) 2018-09-21 11:08:38 +03:00
Makefile.common Refactor Makefile to use Makefile.common (#324) 2018-09-21 11:08:38 +03:00
README.md comments about the 120samples const and link to Gorilla papers. (#423) 2018-10-23 13:43:06 +03:00
block.go LabelNames() method to get all unique label names (#369) 2018-11-07 17:52:41 +02:00
block_test.go Add benchmark for querying a persisted block (#425) 2018-10-24 00:35:52 +03:00
checkpoint.go more descriptive var names and some more logging. (#405) 2018-10-11 18:23:52 +03:00
checkpoint_test.go Fix review comments 2018-09-28 15:00:51 +05:30
compact.go compact: Verify for chunks outside of compacted time range. Added unit test for populateBlocs. (#349) 2018-10-12 12:45:19 +03:00
compact_test.go compact: Verify for chunks outside of compacted time range. Added unit test for populateBlocs. (#349) 2018-10-12 12:45:19 +03:00
db.go Limit the returned db.Querier to the requested time range (#351) 2018-11-09 15:54:56 +02:00
db_test.go LabelNames() method to get all unique label names (#369) 2018-11-07 17:52:41 +02:00
encoding_helpers.go Add license headers to missing files (#447) 2018-11-06 20:19:42 +02:00
head.go Use sampleBuf instead of maintaining lastValue. (#444) 2018-11-14 14:02:32 +00:00
head_bench_test.go Add license headers to missing files (#447) 2018-11-06 20:19:42 +02:00
head_test.go refactor util funcs to allow re-usage. (#419) 2018-10-25 21:06:19 +01:00
mocks_test.go compact: Verify for chunks outside of compacted time range. Added unit test for populateBlocs. (#349) 2018-10-12 12:45:19 +03:00
querier.go Limit the returned db.Querier to the requested time range (#351) 2018-11-09 15:54:56 +02:00
querier_test.go LabelNames() method to get all unique label names (#369) 2018-11-07 17:52:41 +02:00
record.go Add checkpointing of WAL segments 2018-07-19 07:24:40 -04:00
record_test.go Add checkpointing of WAL segments 2018-07-19 07:24:40 -04:00
repair.go Add license headers to missing files (#447) 2018-11-06 20:19:42 +02:00
repair_test.go Add license headers to missing files (#447) 2018-11-06 20:19:42 +02:00
tombstones.go add missing zero to tombstone magic number (#448) 2018-11-09 13:37:02 +02:00
tombstones_test.go remove `put` function and use RLock in `Iter` function 2018-06-25 21:52:11 +08:00
wal.go removed some unused code and moved mockSeriesSet in querier_test (#394) 2018-09-21 11:07:35 +03:00
wal_test.go Using filepath.Join() instead of strings with slashes (#428) 2018-10-25 10:32:57 +01: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.