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.
 
 
 
 
 
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
..
agent tsdb/agent: Ignore duplicate exemplars (#10595) 3 years ago
chunkenc Add SyncForState Implementation for Ruler HA (#10070) 3 years ago
chunks refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
docs Update wal.md (#10442) 3 years ago
encoding Format Go source files using 'gofumpt -w -s -extra' 3 years ago
errors Address golint failures from revive 3 years ago
fileutil refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
goversion Add new Go build tags. 3 years ago
index refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
record Add basic initial developer docs for TSDB (#9451) 3 years ago
test Move packages out of deprecated pkg directory 3 years ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 4 years ago
tombstones refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
tsdbutil refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
wal refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
.gitignore Moving tsdb into its own subdirectory 5 years ago
CHANGELOG.md Rename default branch to main 4 years ago
README.md Add basic initial developer docs for TSDB (#9451) 3 years ago
block.go refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
block_test.go refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory 3 years ago
blockwriter.go refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
blockwriter_test.go refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory 3 years ago
compact.go CompactBlockMetas should produce correct mint/maxt for overlapping blocks. (#10108) 3 years ago
compact_test.go refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory 3 years ago
db.go refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
db_test.go refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
example_test.go refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
exemplar.go tsdb: use simpler map key to improve exemplar ingest performance (#10111) 3 years ago
exemplar_test.go tsdb: use simpler map key to improve exemplar ingest performance (#10111) 3 years ago
head.go Fix panic on query when m-map replay fails with snapshot enabled (#10348) 3 years ago
head_append.go Fix chunk overflow appending samples at a variable rate (#10607) 3 years ago
head_bench_test.go refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory 3 years ago
head_read.go Label values with matchers by intersecting postings (#9907) 3 years ago
head_test.go refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
head_wal.go refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
isolation.go Add the ability to disable tsdb isolation (#9270) 3 years ago
isolation_test.go Add the ability to disable tsdb isolation (#9270) 3 years ago
mocks_test.go Move packages out of deprecated pkg directory 3 years ago
querier.go Label values with matchers by intersecting postings (#9907) 3 years ago
querier_bench_test.go refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory 3 years ago
querier_test.go refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory 3 years ago
repair.go refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
repair_test.go refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory 3 years ago
tsdbblockutil.go TSDB: demistify SeriesRefs and ChunkRefs (#9536) 3 years ago
wal.go fix potential goroutine leaks 3 years ago
wal_test.go refactor: move from io/ioutil to io and os packages (#10528) 3 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.

Due to an issue with versioning, the "latest" docs shown on Godoc are outdated. Instead you may use the docs for v2.31.1

Documentation

External resources

A series of blog posts explaining different components of TSDB: