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
Patryk Prus bbc9e47e42
Add comment about differences between agent mode and regular Prometheus
10 months ago
..
agent Add comment about differences between agent mode and regular Prometheus 10 months ago
chunkenc chore: enable unused-receiver rule from revive 10 months ago
chunks chore: enable unused-receiver rule from revive 10 months 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 Merge pull request #16994 from mmorel-35/unused-parameters 10 months ago
goversion remove obsolete build tag 2 years ago
index Merge pull request #17000 from bboreham/clarify-intersect 10 months ago
record chore: enable unused-receiver rule from revive 10 months 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 Refactor keep function to work for both agent and non-agent implementations 10 months ago
.gitignore
CHANGELOG.md
README.md
block.go add NumFloatSamples to TSDB block stats 11 months ago
block_test.go chore: enable unused-receiver rule from revive 10 months 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: enable unused-receiver rule from revive 10 months ago
compact_test.go test(tsdb): disable TestDelayedCompaction/delayed_compaction_enabled on windows 11 months ago
db.go chore: enable unused-receiver rule from revive 10 months ago
db_test.go Refactor keep function to work for both agent and non-agent implementations 10 months ago
example_test.go
exemplar.go chore: enable unused-receiver rule from revive 10 months ago
exemplar_test.go tsdb.CircularExemplarStorage: Avoid racing (#15231) 2 years ago
head.go Address linter errors 10 months ago
head_append.go chore: enable unused-receiver rule from revive 10 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-receiver rule from revive 10 months ago
head_read.go chore: enable unused-receiver rule from revive 10 months ago
head_read_test.go Create memSeries with pendingCommit=true 1 year ago
head_test.go Use testutil.RequireEqual to handle dedupelabels in test 10 months ago
head_wal.go Address linter errors 10 months ago
isolation.go chore: enable early-return from revive 1 year ago
isolation_test.go chore: enable unused-receiver rule from revive 10 months ago
mocks_test.go chore: enable unused-receiver rule from revive 10 months ago
ooo_head.go Add util/compression package to consolidate snappy/zstd use in Prometheus. (#16156) 1 year ago
ooo_head_read.go chore: enable unused-receiver rule from revive 10 months 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 chore: enable unused-receiver rule from revive 10 months ago
querier_bench_test.go Improving "Sparse postings" intersection (#13971) 10 months ago
querier_test.go chore: enable unused-receiver rule from revive 10 months 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: