prometheus/tsdb
Bryan Boreham 709c5d6fc3
TSDB: Lock around access to labels in head under -tags dedupelabels (#14322)
* TSDB: Document what needs locking in memSeries

* TSDB: Lock around access to series labels

So we can modify them to reset the symbol-table.

* TSDB: Make label locking conditional on build tag

---------

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-07-05 10:11:32 +01:00
..
agent [PRW 2.0] Merging remote-write-2.0 feature branch to main (PRW 2.0 support + metadata in WAL) (#14395) 2024-07-04 14:29:20 -07:00
chunkenc fix according to code review 2024-06-07 18:50:59 +08:00
chunks TSDB: Simplify OOO Select by copying the head chunk (#14396) 2024-07-03 15:08:07 +01:00
docs
encoding
errors
fileutil
goversion
index Replace ListPostings.Seek's binary search call by the generic slices.BinarySearch (#14393) 2024-07-02 14:51:05 +01:00
record
testdata
tombstones
tsdbutil
wlog [PRW 2.0] Merging remote-write-2.0 feature branch to main (PRW 2.0 support + metadata in WAL) (#14395) 2024-07-04 14:29:20 -07:00
.gitignore
block.go tsdb: Extend compactor interface to allow compactions to create multiple output blocks (#14143) 2024-06-12 17:31:25 -04:00
block_test.go tsdb: Extend compactor interface to allow compactions to create multiple output blocks (#14143) 2024-06-12 17:31:25 -04:00
blockwriter.go tsdb: Extend compactor interface to allow compactions to create multiple output blocks (#14143) 2024-06-12 17:31:25 -04:00
blockwriter_test.go
CHANGELOG.md
compact.go TSDB: Change block populator to accept postings index function (#14213) 2024-06-25 09:21:48 +01:00
compact_test.go TSDB: Change block populator to accept postings index function (#14213) 2024-06-25 09:21:48 +01:00
db.go Merge pull request #14341 from charleskorn/charleskorn/cleanup-pending-read 2024-06-25 09:23:54 +01:00
db_test.go Use storage.ExpandSamples instead of samplesFromIterator 2024-07-03 09:28:38 -07:00
example_test.go
exemplar.go [ENHANCEMENT] TSDB: Save map lookup on validation 2024-05-30 09:17:11 +01:00
exemplar_test.go [Test] TSDB: BenchmarkResizeExemplar multiple per series 2024-05-30 09:17:11 +01:00
head.go TSDB: Lock around access to labels in head under -tags dedupelabels (#14322) 2024-07-05 10:11:32 +01:00
head_append.go TSDB: Lock around access to labels in head under -tags dedupelabels (#14322) 2024-07-05 10:11:32 +01:00
head_bench_test.go
head_dedupelabels.go TSDB: Lock around access to labels in head under -tags dedupelabels (#14322) 2024-07-05 10:11:32 +01:00
head_other.go TSDB: Lock around access to labels in head under -tags dedupelabels (#14322) 2024-07-05 10:11:32 +01:00
head_read.go TSDB: Lock around access to labels in head under -tags dedupelabels (#14322) 2024-07-05 10:11:32 +01:00
head_read_test.go TSDB: Simplify OOO Select by copying the head chunk (#14396) 2024-07-03 15:08:07 +01:00
head_test.go Clean up of tests and test utils 2024-07-03 09:28:38 -07:00
head_wal.go TSDB: Lock around access to labels in head under -tags dedupelabels (#14322) 2024-07-05 10:11:32 +01:00
isolation.go
isolation_test.go
mocks_test.go
ooo_head.go
ooo_head_read.go TSDB: Lock around access to labels in head under -tags dedupelabels (#14322) 2024-07-05 10:11:32 +01:00
ooo_head_read_test.go Fix test 2024-07-03 09:28:38 -07:00
ooo_head_test.go
ooo_isolation.go
ooo_isolation_test.go
querier.go Change LabelValuesFor() to accept index.Postings (#14280) 2024-06-11 15:36:46 +02:00
querier_bench_test.go
querier_test.go Change LabelValuesFor() to accept index.Postings (#14280) 2024-06-11 15:36:46 +02:00
README.md
repair.go
repair_test.go
testutil.go Testutil refactoring 2024-07-03 09:28:38 -07:00
tsdbblockutil.go

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: