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
Frederic Branczyk abd15845e2
wal: Replace promauto with injected registry
6 years ago
chunkenc Add FromData function (again)! (#600) 6 years ago
chunks remove Fsync workaround for macos. (#574) 6 years ago
cmd/tsdb fix some unchecked errors and remove unused vars. (#592) 6 years ago
docs/format docs: add label offset table and postings offset table (#593) 6 years ago
encoding Fix exported function comments (#566) 6 years ago
errors Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 6 years ago
fileutil remove Fsync workaround for macos. (#574) 6 years ago
goversion remove Fsync workaround for macos. (#574) 6 years ago
index Simplify mergedPostings.Seek (#595) 6 years ago
labels Optimize queries using regex matchers for set lookups (#602) 6 years ago
test
testdata Add repair test 7 years ago
testutil Test to corrupt segments mid-WAL, repair and check we can read the correct number of records. (#528) 6 years ago
tsdbutil Add license headers to missing files (#447) 6 years ago
wal wal: Replace promauto with injected registry 6 years ago
.gitignore Add default benchmark output dir to .gitignore 7 years ago
.golangci.yml Synchronize Makefile.common from prometheus/prometheus (#591) 6 years ago
.travis.yml remove Fsync workaround for macos. (#574) 6 years ago
CHANGELOG.md Release 0.8.0 (#607) 6 years ago
LICENSE
MAINTAINERS.md add maintainers file (#404) 6 years ago
Makefile Update Makefile.common (#548) 6 years ago
Makefile.common makefile: update Makefile.common with newer version (#603) 6 years ago
README.md README: move the build badge to the badge list (#555) 6 years ago
block.go cleanup tmp files (#570) 6 years ago
block_test.go Optimize queries using regex matchers for set lookups (#602) 6 years ago
checkpoint.go Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 6 years ago
checkpoint_test.go Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 6 years ago
compact.go fix the "failed compaction" metric. (#613) 6 years ago
compact_test.go fix the "failed compaction" metric. (#613) 6 years ago
db.go fix the "failed compaction" metric. (#613) 6 years ago
db_test.go Correctly handle empty labels. (#594) 6 years ago
go.mod fix some unchecked errors and remove unused vars. (#592) 6 years ago
go.sum Use Go modules (#454) 6 years ago
head.go Always create a new clean segment when starting the WAL. (#608) 6 years ago
head_bench_test.go Simplify mergedPostings.Seek (#595) 6 years ago
head_test.go Don't crash on an unknown tombstone ref. (#604) 6 years ago
mocks_test.go Vertical query merging and compaction (#370) 6 years ago
querier.go Optimize queries using regex matchers for set lookups (#602) 6 years ago
querier_test.go Optimize queries using regex matchers for set lookups (#602) 6 years ago
record.go Merge encoding_helpers.go to tsdbutil (#526) 6 years ago
record_test.go Add test for be64() in encoding/encoding.go (#521) (#533) 6 years ago
repair.go cleanup tmp files (#570) 6 years ago
repair_test.go fix some unchecked errors and remove unused vars. (#592) 6 years ago
tombstones.go cleanup tmp files (#570) 6 years ago
tombstones_test.go cleanup tmp files (#570) 6 years ago
wal.go cleanup tmp files (#570) 6 years ago
wal_test.go fix some unchecked errors and remove unused vars. (#592) 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.