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
Charles Korn ab1b1db128
tsdb: fix issue where a new segment file is created for every chunk if `WithSegmentSize` not called (#16635)
12 months ago
..
agent refactor: use the built-in max/min to simplify the code 12 months 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) 12 months ago
docs chore: fix some comments (#16237) 1 year ago
encoding
errors tsdb/errors.MultiError: support errors.As (#16544) 1 year ago
fileutil feat(tsdb): introduce --use-uncached-io feature flag and allow using it for chunks writing (#15365) 12 months 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 12 months 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 [PERF] TSDB: Pass down label value limit into implementation (#16158) 1 year 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 feat(tsdb): introduce --use-uncached-io feature flag and allow using it for chunks writing (#15365) 12 months ago
compact_test.go Fix linting issues found by golangci-lint v2.0.2 (#16368) 1 year ago
db.go refactor: use the built-in max/min to simplify the code (#16617) 12 months ago
db_test.go feat(tsdb): introduce --use-uncached-io feature flag and allow using it for chunks writing (#15365) 12 months ago
example_test.go
exemplar.go refactor: use the built-in max/min to simplify the code 12 months ago
exemplar_test.go
head.go Merge pull request #16333 from colega/fix-series-create-gc-race 1 year ago
head_append.go defer a.unmarkCreatedSeriesAsPendingCommit() 1 year ago
head_bench_test.go Create memSeries with pendingCommit=true 1 year ago
head_dedupelabels.go
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 12 months ago
head_read_test.go Create memSeries with pendingCommit=true 1 year ago
head_test.go [PERF] TSDB: Pass down label value limit into implementation (#16158) 1 year ago
head_wal.go refactor: use the built-in max/min to simplify the code 12 months ago
isolation.go
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
repair_test.go
testutil.go Fix linting issues found by golangci-lint v2.0.2 (#16368) 1 year ago
tsdbblockutil.go

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: