prometheus/tsdb
Bryan Boreham 89bf6e1df9 tsdb: Tidy up some test code
Use simpler utility function to create Labels objects, making fewer
assumptions about the data structure.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-12-15 19:39:46 +00:00
..
agent Switch from 'sanity' to more inclusive lanuage (#9376) 2022-11-28 17:09:18 +00:00
chunkenc histograms: Improve tests and fix exposed bugs 2022-12-12 00:08:23 +01:00
chunks Replace sort.Strings and sort.Ints with faster slices.Sort (#11318) 2022-09-30 20:03:56 +05:30
docs
encoding Merge 'main' into sparsehistogram 2022-10-05 22:14:49 +02:00
errors
fileutil Update go to 1.19, set min version to 1.18 (#11279) 2022-09-07 11:30:48 +02:00
goversion
index Optimize postings offset table reading (#11535) 2022-11-14 17:48:16 +01:00
record Merge 'main' into sparsehistogram 2022-10-05 22:14:49 +02:00
test
testdata
tombstones
tsdbutil Fix merge conflicts 2022-10-11 22:53:37 +05:30
wlog Merge remote-tracking branch 'upstream/main' into fix-conflict 2022-10-12 14:20:02 +05:30
.gitignore
CHANGELOG.md
README.md Fixed broken link in tsdb README.md 2022-10-07 16:20:20 +00:00
block.go tsdb: fix up sort call with faster slices.Sort (#11380) 2022-10-01 12:55:40 -04:00
block_test.go storage: allow re-use of iterators 2022-12-15 18:32:45 +00:00
blockwriter.go Merge 'main' into sparsehistogram 2022-10-05 22:14:49 +02:00
blockwriter_test.go tsdb: in tests use labels.FromStrings 2022-09-09 13:34:49 +02:00
compact.go storage: allow re-use of iterators 2022-12-15 18:32:45 +00:00
compact_test.go Fix merge conflicts 2022-10-11 22:53:37 +05:30
db.go Switch from 'sanity' to more inclusive lanuage (#9376) 2022-11-28 17:09:18 +00:00
db_test.go storage: allow re-use of iterators 2022-12-15 18:32:45 +00:00
example_test.go storage: allow re-use of iterators 2022-12-15 18:32:45 +00:00
exemplar.go
exemplar_test.go tsdb: in tests use labels.FromStrings 2022-09-09 13:34:49 +02:00
head.go Fix alignment of atomic int64 (#11547) 2022-11-09 11:18:49 +01:00
head_append.go Switch from 'sanity' to more inclusive lanuage (#9376) 2022-11-28 17:09:18 +00:00
head_bench_test.go Add out-of-order sample support to the TSDB (#11075) 2022-09-20 22:35:50 +05:30
head_read.go storage: re-use iterators to save garbage 2022-12-15 18:32:45 +00:00
head_read_test.go Fix merge conflicts 2022-10-11 22:53:37 +05:30
head_test.go storage: allow re-use of iterators 2022-12-15 18:32:45 +00:00
head_wal.go Fix the build after conflict resolution 2022-10-12 17:59:42 +05:30
isolation.go tsdb: turn off transaction isolation for head compaction (#11317) 2022-09-27 19:31:23 +05:30
isolation_test.go tsdb: turn off transaction isolation for head compaction (#11317) 2022-09-27 19:31:23 +05:30
mocks_test.go
ooo_head.go Fix merge conflicts 2022-10-11 22:53:37 +05:30
ooo_head_read.go Add out-of-order sample support to the TSDB (#11075) 2022-09-20 22:35:50 +05:30
ooo_head_read_test.go tsdb: Tidy up some test code 2022-12-15 19:39:46 +00:00
ooo_head_test.go Fix merge conflicts 2022-10-11 22:53:37 +05:30
querier.go Review feedback 2022-12-15 18:32:45 +00:00
querier_bench_test.go Add out-of-order sample support to the TSDB (#11075) 2022-09-20 22:35:50 +05:30
querier_test.go tsdb: Tidy up some test code 2022-12-15 19:39:46 +00:00
repair.go
repair_test.go tsdb: in tests use labels.FromStrings 2022-09-09 13:34:49 +02:00
tsdbblockutil.go storage: allow re-use of iterators 2022-12-15 18:32:45 +00:00
wal.go TSDB: Rename wal package to wlog (#11352) 2022-10-10 20:38:46 +05:30
wal_test.go TSDB: Rename wal package to wlog (#11352) 2022-10-10 20:38:46 +05:30

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: