You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bartek Płotka 656e53533c
Merge pull request #677 from prometheus/bwplotka-patch-1
5 days ago
.github github template for PRs (#624) 2 months ago
chunkenc Reuse Chunk Iterator (#642) 1 month ago
chunks remove redundant condition judgement whether cut new chunk (#669) 3 weeks ago
cmd/tsdb Open db in Read only mode (#588) 3 weeks ago
docs/format docs: add label offset table and postings offset table (#593) 3 months ago
encoding Fix exported function comments (#566) 4 months ago
errors Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 5 months ago
fileutil comment 1 month ago
goversion remove Fsync workaround for macos. (#574) 4 months ago
index Breakdown generic writeOffsetTable (#643) 1 month ago
labels Optimize queries using regex matchers for set lookups (#602) 2 months ago
test index: simplify checksum validation 1 year ago
testdata Add repair test 1 year ago
testutil Open db in Read only mode (#588) 3 weeks ago
tsdbutil Add license headers to missing files (#447) 9 months ago
wal Merge pull request #660 from YaoZengzeng/fix 1 week ago
.gitignore Add default benchmark output dir to .gitignore 1 year ago
.golangci.yml Synchronize Makefile.common from prometheus/prometheus (#591) 3 months ago
.travis.yml remove Fsync workaround for macos. (#574) 4 months ago
CHANGELOG.md cut 0.10.0 3 weeks ago
LICENSE Add license file 2 years ago
MAINTAINERS.md add maintainers file (#404) 10 months ago
Makefile Update Makefile.common (#548) 5 months ago
Makefile.common makefile: update Makefile.common with newer version 1 month ago
README.md Update README to notify about repository move. 5 days ago
block.go Open db in Read only mode (#588) 3 weeks ago
block_test.go Open db in Read only mode (#588) 3 weeks ago
checkpoint.go Provide option to compress WAL records (#609) 2 months ago
checkpoint_test.go Provide option to compress WAL records (#609) 2 months ago
compact.go Open db in Read only mode (#588) 3 weeks ago
compact_test.go Open db in Read only mode (#588) 3 weeks ago
db.go add metric for tsdb size retention bytes (#667) 3 weeks ago
db_test.go add metric for tsdb size retention bytes (#667) 3 weeks ago
go.mod Provide option to compress WAL records (#609) 2 months ago
go.sum Provide option to compress WAL records (#609) 2 months ago
head.go Open db in Read only mode (#588) 3 weeks ago
head_bench_test.go Simplify mergedPostings.Seek (#595) 3 months ago
head_test.go Reuse Chunk Iterator (#642) 1 month ago
mocks_test.go Open db in Read only mode (#588) 3 weeks ago
querier.go Reuse Chunk Iterator (#642) 1 month ago
querier_test.go Reuse Chunk Iterator (#642) 1 month ago
record.go Merge encoding_helpers.go to tsdbutil (#526) 5 months ago
record_test.go Add test for be64() in encoding/encoding.go (#521) (#533) 5 months ago
repair.go refactor block size calculation (#637) 1 month ago
repair_test.go refactor block size calculation (#637) 1 month ago
tombstones.go refactor block size calculation (#637) 1 month ago
tombstones_test.go refactor block size calculation (#637) 1 month ago
wal.go Provide option to compress WAL records (#609) 2 months ago
wal_test.go Provide option to compress WAL records (#609) 2 months ago

README.md

TSDB

THIS PROJECT IS BEING MOVED TO PROMETHEUS REPOSITORY: https://github.com/prometheus/prometheus/pull/5805

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.