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
George Krajcsovits 35d9f28c87
Update tsdb/record/record.go
8 months ago
..
agent fix(wal): ignore invalid native histogram schemas on load 8 months ago
chunkenc better errors naming and formatting, typo fixes 8 months ago
chunks Apply analyzer "modernize" to the whole codebase 9 months ago
docs docs: Fix chunk format documentation for `varint` encoding 10 months ago
encoding Attempt for record type 2 years ago
errors tsdb/errors.MultiError: support errors.As (#16544) 1 year ago
fileutil Apply analyzer "modernize" to the whole codebase 9 months ago
goversion remove obsolete build tag 2 years ago
index Fix minor issues after applying analyzer "modernize" 9 months ago
record Update tsdb/record/record.go 8 months ago
testdata
tombstones Apply analyzer "modernize" to the whole codebase 9 months ago
tsdbutil Apply analyzer "modernize" to the whole codebase 9 months ago
wlog fix(wal): ignore invalid native histogram schemas on load 8 months ago
.gitignore
CHANGELOG.md
README.md Fixed broken link in tsdb README.md 4 years ago
block.go add NumFloatSamples to TSDB block stats 11 months ago
block_test.go Apply analyzer "modernize" to the whole codebase 9 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 Merge pull request #17074 from prymitive/logs 9 months ago
compact_test.go Apply analyzer "modernize" to the whole codebase 9 months ago
db.go Log when GC / block write starts 9 months ago
db_test.go fix(wal): ignore invalid native histogram schemas on load 8 months ago
example_test.go Add context argument to Querier.Select (#12660) 3 years ago
exemplar.go Apply analyzer "modernize" to the whole codebase 9 months ago
exemplar_test.go Apply analyzer "modernize" to the whole codebase 9 months ago
head.go tsdb: Fix commit order for mixed-typed series 9 months ago
head_append.go tsdb: Include floatHistograms in headAppender.Rollback() 9 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 Apply analyzer "modernize" to the whole codebase 9 months ago
head_read_test.go Apply analyzer "modernize" to the whole codebase 9 months ago
head_test.go fix(wal): ignore invalid native histogram schemas on load 8 months ago
head_wal.go fix(wal): ignore invalid native histogram schemas on load 8 months ago
isolation.go Apply analyzer "modernize" to the whole codebase 9 months ago
isolation_test.go Apply analyzer "modernize" to the whole codebase 9 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 Apply analyzer "modernize" to the whole codebase 9 months ago
ooo_isolation.go Fix issue where queries can fail or omit OOO samples if OOO head compaction occurs between creating a querier and reading chunks (#13115) 3 years ago
ooo_isolation_test.go Fix issue where queries can fail or omit OOO samples if OOO head compaction occurs between creating a querier and reading chunks (#13115) 3 years ago
querier.go chore: enable unused-receiver rule from revive 10 months ago
querier_bench_test.go Apply analyzer "modernize" to the whole codebase 9 months ago
querier_test.go Apply analyzer "modernize" to the whole codebase 9 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: