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.
 
 
 
 
 
prometheus/tsdb
Björn Rabenstein 0e12f11d61
Merge pull request #12583 from prometheus/release-2.46
2 years ago
..
agent Add Zstandard compression option for wlog (#11666) 2 years ago
chunkenc Fix HistogramAppender.Appendable array out of bound error 3 years ago
chunks Fix race condition in ChunkDiskMapper.Truncate() (#12500) 3 years ago
docs Merge branch 'main' into sparsehistogram 3 years ago
encoding Merge 'main' into sparsehistogram 3 years ago
errors Fix context.Canceled wrapping in compaction 3 years ago
fileutil Update go to 1.19, set min version to 1.18 (#11279) 3 years ago
goversion lint: Adjust to the lint warnings raised by current versions of golint-ci 3 years ago
index Merge pull request #10623 from songjiayang/update-index 2 years ago
record tsdb: Support native histograms in snapshot on shutdown (#12258) 2 years ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 5 years ago
tombstones Copy tombstone intervals to avoid race (#12245) 3 years ago
tsdbutil tsdbutil/ChunkFromSamplesGeneric should not panic 2 years ago
wlog Add Zstandard compression option for wlog (#11666) 2 years ago
.gitignore Moving tsdb into its own subdirectory 6 years ago
CHANGELOG.md Rename default branch to main 5 years ago
README.md Fixed broken link in tsdb README.md 3 years ago
block.go tsdb: sort values for Postings only when required 3 years ago
block_test.go enable gocritic, unconvert and unused linters 3 years ago
blockwriter.go Merge 'main' into sparsehistogram 3 years ago
blockwriter_test.go Name float values as "floats", not as "values" 3 years ago
compact.go Replace sort.Slice with faster slices.SortFunc 2 years ago
compact_test.go Add Zstandard compression option for wlog (#11666) 2 years ago
db.go Add Zstandard compression option for wlog (#11666) 2 years ago
db_test.go tsdbutil/ChunkFromSamplesGeneric should not panic 2 years ago
example_test.go storage: allow re-use of iterators 3 years ago
exemplar.go scrape: Enable ingestion of multiple exemplars per sample 2 years ago
exemplar_test.go tsdb: in tests use labels.FromStrings 3 years ago
head.go improve incorrect doc comment 2 years ago
head_append.go Also pass chunkOpts into appendPreprocessor 3 years ago
head_bench_test.go Add out-of-order sample support to the TSDB (#11075) 3 years ago
head_read.go TSDB: Remove usused import of sort 2 years ago
head_read_test.go Fix merge conflicts 3 years ago
head_test.go Add Zstandard compression option for wlog (#11666) 2 years ago
head_wal.go Add Zstandard compression option for wlog (#11666) 2 years ago
isolation.go ci(lint): enable predeclared linter 3 years ago
isolation_test.go tsdb: turn off transaction isolation for head compaction (#11317) 3 years ago
mocks_test.go Move packages out of deprecated pkg directory 4 years ago
ooo_head.go Name float values as "floats", not as "values" 3 years ago
ooo_head_read.go remove repetitive words (#12556) 2 years ago
ooo_head_read_test.go Add Zstandard compression option for wlog (#11666) 2 years ago
ooo_head_test.go Name float values as "floats", not as "values" 3 years ago
querier.go Apply relevant label matchers in LabelValues before fetching extra postings (#12274) 2 years ago
querier_bench_test.go Apply relevant label matchers in LabelValues before fetching extra postings (#12274) 2 years ago
querier_test.go tsdbutil/ChunkFromSamplesGeneric should not panic 2 years ago
repair.go refactor: move from io/ioutil to io and os packages (#10528) 4 years ago
repair_test.go Simplify IndexReader.Series interface 3 years ago
tsdbblockutil.go Support FloatHistogram in TSDB (#11522) 3 years ago
wal.go Add Zstandard compression option for wlog (#11666) 2 years ago
wal_test.go Add Zstandard compression option for wlog (#11666) 2 years ago

README.md

TSDB

GoPkg

This directory contains the Prometheus TSDB (Time Series DataBase) library, which handles storage and querying of all Prometheus v2 data.

Documentation

External resources

A series of blog posts explaining different components of TSDB: