The Prometheus monitoring system and time series database.
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.
 
 
 
 
 
Go to file
Ganesh Vernekar a29ab50a20
Merge pull request #510 from yeya24/patch/fixtypo
6 years ago
chunkenc Make newBReader return a struct, not a pointer. (#459) 6 years ago
chunks Missing the length of the encoding byte when calling b.Range 6 years ago
cmd/tsdb change variable name metrics to labels (#496) 6 years ago
docs/format add missing zero to tombstone magic number (#448) 6 years ago
fileutil Add license headers to missing files (#447) 6 years ago
index Added storage size based retention method and new metrics (#343) 6 years ago
labels fix statick check errors (#475) 6 years ago
test index: simplify checksum validation 7 years ago
testdata Add repair test 7 years ago
testutil fileutil: remove dependency on prometheus/prometheus 6 years ago
tsdbutil Add license headers to missing files (#447) 6 years ago
wal add live reader for WAL (#481) 6 years ago
.gitignore Add default benchmark output dir to .gitignore 7 years ago
.travis.yml fix statick check errors (#475) 6 years ago
CHANGELOG.md remove a changelog double entry (#507) 6 years ago
LICENSE Add license file 8 years ago
MAINTAINERS.md add maintainers file (#404) 6 years ago
Makefile fix statick check errors (#475) 6 years ago
Makefile.common Use Go modules (#454) 6 years ago
README.md comments about the 120samples const and link to Gorilla papers. (#423) 6 years ago
block.go Don't write empty blocks (#374) 6 years ago
block_test.go make createBlock more generic so it can be used in other tests. (#489) 6 years ago
checkpoint.go Delete temp checkpoint folder on error. (#415) 6 years ago
checkpoint_test.go Delete temp checkpoint folder on error. (#415) 6 years ago
compact.go Don't write empty blocks (#374) 6 years ago
compact_test.go fix flaky tests: TestDisableAutoCompactions,TestBlockRanges (#472) 6 years ago
db.go Remove _total from prometheus_tsdb_storage_blocks_bytes (#506) 6 years ago
db_test.go fix two typos in db_test 6 years ago
encoding_helpers.go Add license headers to missing files (#447) 6 years ago
go.mod Use Go modules (#454) 6 years ago
go.sum Use Go modules (#454) 6 years ago
head.go Move series fetches out of inner loop of SortedPostings. (#485) 6 years ago
head_bench_test.go Move series fetches out of inner loop of SortedPostings. (#485) 6 years ago
head_test.go make createBlock more generic so it can be used in other tests. (#489) 6 years ago
mocks_test.go fix lint errors (#439) 6 years ago
querier.go fix statick check errors (#475) 6 years ago
querier_test.go make createBlock more generic so it can be used in other tests. (#489) 6 years ago
record.go fix lint errors (#439) 6 years ago
record_test.go Add checkpointing of WAL segments 6 years ago
repair.go fix some typos (#466) 6 years ago
repair_test.go fix statick check errors (#475) 6 years ago
staticcheck.conf fix statick check errors (#475) 6 years ago
tombstones.go Added storage size based retention method and new metrics (#343) 6 years ago
tombstones_test.go Added storage size based retention method and new metrics (#343) 6 years ago
wal.go fix statick check errors (#475) 6 years ago
wal_test.go fix statick check errors (#475) 6 years ago

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.