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
Bryan Boreham 1bfb3ed062
Labels: reduce allocations when creating from TSDB WAL (#13044)
2 years ago
..
agent tsdb/agent: use Go standard errors package 2 years ago
chunkenc tsdb/chunkenc: use Go standard errors package 2 years ago
chunks tsdb/chunk: use Go standard errors package 2 years ago
docs Merge branch 'main' into sparsehistogram 3 years ago
encoding tsdb/encoding: use Go standard errors package 2 years ago
errors ci(lint): enable nolintlint and remove redundant comments (#12926) 2 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 #13124 from mmorel-35/patch-5 2 years ago
record Labels: reduce allocations when creating from TSDB WAL (#13044) 2 years ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 5 years ago
tombstones Update tombstones.go 2 years ago
tsdbutil Add a chunk size limit in bytes (#12054) 2 years ago
wlog tsdb/wlog: use Go standard errors package 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 Add context argument to tsdb.PostingsForMatchers 2 years ago
block_test.go Add context argument to LabelQuerier.LabelValues (#12665) 2 years ago
blockwriter.go Merge 'main' into sparsehistogram 3 years ago
blockwriter_test.go Add a chunk size limit in bytes (#12054) 2 years ago
compact.go Fix int32 overflow issues (#12978) 2 years ago
compact_test.go Fix according to code review 2 years ago
db.go Expose --storage.tsdb.retention.time in metric prometheus_tsdb_retention_limit_seconds (#12986) 2 years ago
db_test.go ValidateHistogram: strict Count check in absence of NaNs 2 years ago
example_test.go Add context argument to Querier.Select (#12660) 2 years ago
exemplar.go Update exp package (#12650) 2 years ago
exemplar_test.go tsdb: in tests use labels.FromStrings 3 years ago
head.go head.go: Remove an unneeded snapshot trigger that was moved in https://github.com/prometheus/prometheus/pull/9328 2 years ago
head_append.go Fix panic during tsdb Commit (#13092) 2 years ago
head_bench_test.go Pass ref to SeriesLifecycleCallback.PostDeletion (#12626) 2 years ago
head_read.go ci(lint): enable godot; append dot at the end of comments 2 years ago
head_read_test.go Use a linked list for memSeries.headChunk (#11818) 2 years ago
head_test.go Fix panic during tsdb Commit (#13092) 2 years ago
head_wal.go ci(lint): enable nolintlint and remove redundant comments (#12926) 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 ci(lint): enable nolintlint and remove redundant comments (#12926) 2 years ago
ooo_head_read_test.go ci(lint): enable godot; append dot at the end of comments 2 years ago
ooo_head_test.go ci(lint): enable godot; append dot at the end of comments 2 years ago
querier.go Refactor assigning MinTime in histogram chunks 2 years ago
querier_bench_test.go ci(lint): enable nolintlint and remove redundant comments (#12926) 2 years ago
querier_test.go Merge pull request #12881 from dimitarvdimitrov/dimitar/TestQuerierIndexQueriesRace-less-synchronisation 2 years ago
repair.go refactor: move from io/ioutil to io and os packages (#10528) 4 years ago
repair_test.go Add context argument to IndexReader.Postings (#12667) 2 years ago
tsdbblockutil.go Support FloatHistogram in TSDB (#11522) 3 years ago
wal.go ci(lint): enable nolintlint and remove redundant comments (#12926) 2 years ago
wal_test.go Add Zstandard compression option for wlog (#11666) 3 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: