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
machine424 846acc10bb chore(tsdb): remove NewLeveledCompactorWithChunkSize constructor as unused, library users ca can redefine it on their side 11 months ago
..
agent refactor: use the built-in max/min to simplify the code 1 year ago
chunkenc perf(chunkenc): intern the custom values for native histograms 1 year ago
chunks tsdb: fix issue where a new segment file is created for every chunk if `WithSegmentSize` not called (#16635) 1 year ago
docs chore: fix some comments (#16237) 1 year ago
encoding Attempt for record type 2 years ago
errors tsdb/errors.MultiError: support errors.As (#16544) 1 year ago
fileutil fix(test): fall back to default direct I/O requirements in tests when statx isn't supported by using a higher lever util 1 year ago
goversion
index refactor: use slices.Contains to simplify code 1 year ago
record chore: enable gci linter (#16245) 1 year ago
testdata
tombstones refactor: use the built-in max/min to simplify the code 1 year ago
tsdbutil chore: enable gci linter (#16245) 1 year ago
wlog [PERF] Remote-write: re-use memory to read WAL data (#16197) 1 year ago
.gitignore
CHANGELOG.md
README.md
block.go add NumFloatSamples to TSDB block stats 11 months ago
block_test.go [PERF] TSDB: Pass down label value limit into implementation (#16158) 1 year ago
blockwriter.go Upgrade to github.com/oklog/ulid/v2 (#16168) 1 year ago
blockwriter_test.go chore: enable gci linter (#16245) 1 year ago
compact.go chore(tsdb): remove NewLeveledCompactorWithChunkSize constructor as unused, library users ca can redefine it on their side 11 months ago
compact_test.go add NumFloatSamples to TSDB block stats 11 months ago
db.go refactor: use the built-in max/min to simplify the code (#16617) 1 year ago
db_test.go chore: fix some minor issues in comments 11 months ago
example_test.go
exemplar.go refactor: use the built-in max/min to simplify the code 1 year ago
exemplar_test.go tsdb.CircularExemplarStorage: Avoid racing (#15231) 2 years ago
head.go Merge pull request #16333 from colega/fix-series-create-gc-race 1 year ago
head_append.go fix: unlock of unlocked mutex (#16332) 11 months ago
head_bench_test.go Create memSeries with pendingCommit=true 1 year ago
head_dedupelabels.go chore!: adopt log/slog, remove go-kit/log 2 years ago
head_other.go chore: enable unused-parameter from revive 1 year ago
head_read.go refactor: use the built-in max/min to simplify the code 1 year ago
head_read_test.go Create memSeries with pendingCommit=true 1 year ago
head_test.go chore(tsdb): add a few more testcases for unlock of unlocked mtx 16332 (#16848) 11 months ago
head_wal.go refactor: use the built-in max/min to simplify the code 1 year ago
isolation.go chore: enable early-return from revive 1 year ago
isolation_test.go chore: enable unused-parameter from revive 1 year ago
mocks_test.go
ooo_head.go Add util/compression package to consolidate snappy/zstd use in Prometheus. (#16156) 1 year ago
ooo_head_read.go [PERF] TSDB: Pass down label value limit into implementation (#16158) 1 year ago
ooo_head_read_test.go [PERF] TSDB: Pass down label value limit into implementation (#16158) 1 year ago
ooo_head_test.go Fix linting issues found by golangci-lint v2.0.2 (#16368) 1 year ago
ooo_isolation.go
ooo_isolation_test.go
querier.go [PERF] TSDB: Pass down label value limit into implementation (#16158) 1 year ago
querier_bench_test.go [PERF] TSDB: Pass down label value limit into implementation (#16158) 1 year ago
querier_test.go [PERF] TSDB: Pass down label value limit into implementation (#16158) 1 year ago
repair.go chore!: adopt log/slog, remove go-kit/log 2 years ago
repair_test.go feat: Allow customizing TSDB postings decoder (#13567) 2 years ago
testutil.go Fix linting issues found by golangci-lint v2.0.2 (#16368) 1 year ago
tsdbblockutil.go enable errorf rule from perfsprint linter 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: