prometheus/tsdb
Ben Kochie 204249fcb5
Some checks are pending
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
Update golangci-lint (#17478)
* Update golangci-lint to v2.6.0
* Fixup various linting issues.
* Fixup deprecations.
* Add exception for `labels.MetricName` deprecation.

Signed-off-by: SuperQ <superq@gmail.com>
2025-11-05 13:47:34 +01:00
..
agent fix(wal): ignore invalid native histogram schemas on load 2025-09-24 11:41:25 +02:00
chunkenc Update golangci-lint (#17478) 2025-11-05 13:47:34 +01:00
chunks Update golangci-lint (#17478) 2025-11-05 13:47:34 +01:00
docs docs: Fix chunk format documentation for varint encoding 2025-08-15 10:56:21 +02:00
encoding Attempt for record type 2024-12-05 09:21:47 -08:00
errors tsdb/errors.MultiError: support errors.As (#16544) 2025-05-06 13:45:16 +00:00
fileutil chore(direct_io): fix constructor's name (#17371) 2025-10-23 11:35:16 +02:00
goversion remove obsolete build tag 2024-01-17 22:26:32 +08:00
index Update modernize (#17471) 2025-11-04 05:13:49 +00:00
record Update golangci-lint (#17478) 2025-11-05 13:47:34 +01:00
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 2020-08-11 06:56:08 +01:00
tombstones docs: minor improvement for docs 2025-10-29 14:42:14 +08:00
tsdbutil Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
wlog Update golangci-lint (#17478) 2025-11-05 13:47:34 +01:00
.gitignore Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
block.go add NumFloatSamples to TSDB block stats 2025-07-07 13:48:18 -07:00
block_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
blockwriter.go Phase out native histogram feature flag 2025-10-15 14:50:52 +02:00
blockwriter_test.go chore: enable gci linter (#16245) 2025-03-22 15:46:13 +00:00
CHANGELOG.md Rename default branch to main 2021-02-22 20:28:02 +01:00
compact.go Merge pull request #17074 from prymitive/logs 2025-09-02 12:55:12 +01:00
compact_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
db.go Update golangci-lint (#17478) 2025-11-05 13:47:34 +01:00
db_test.go Update golangci-lint (#17478) 2025-11-05 13:47:34 +01:00
example_test.go Add context argument to Querier.Select (#12660) 2023-09-12 12:37:38 +02:00
exemplar.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
exemplar_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
head.go Phase out native histogram feature flag 2025-10-15 14:50:52 +02:00
head_append.go Update golangci-lint (#17478) 2025-11-05 13:47:34 +01:00
head_bench_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
head_dedupelabels.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
head_other.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
head_read.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
head_read_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
head_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
head_wal.go Update golangci-lint (#17478) 2025-11-05 13:47:34 +01:00
isolation.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
isolation_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
mocks_test.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
ooo_head.go Update golangci-lint (#17478) 2025-11-05 13:47:34 +01:00
ooo_head_read.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
ooo_head_read_test.go Phase out native histogram feature flag 2025-10-15 14:50:52 +02:00
ooo_head_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
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) 2023-11-24 12:38:38 +01:00
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) 2023-11-24 12:38:38 +01:00
querier.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
querier_bench_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
querier_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
README.md Fixed broken link in tsdb README.md 2022-10-07 16:20:20 +00:00
repair.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
repair_test.go feat: Allow customizing TSDB postings decoder (#13567) 2024-11-11 07:59:24 +01:00
testutil.go Fix linting issues found by golangci-lint v2.0.2 (#16368) 2025-05-03 19:05:13 +02:00
tsdbblockutil.go enable errorf rule from perfsprint linter 2024-11-06 16:50:36 +01:00

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: