prometheus/tsdb
Oleg Zaytsev 9ad93ba8df
Optimize l=~".+" matcher ()
Since dot is matching newline now, `l=~".+"` is "any non empty label
value", and  added a specific method in the index for that so we
don't need to run the matcher on each one of the label values.

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
2024-11-27 12:33:20 +01:00
..
agent Agent: allow for ingestion of CT samples () 2024-10-27 01:06:34 +01:00
chunkenc Always return unknown hint for first sample in non-gauge histogram chunk () 2024-11-12 15:14:06 +01:00
chunks enable errorf rule from perfsprint linter 2024-11-06 16:50:36 +01:00
docs [DOCS] Improve description of WAL record format () 2024-11-26 11:48:17 +00:00
encoding
errors
fileutil
goversion
index TSDB: eliminate one yolostring 2024-11-26 17:21:55 +00:00
record
testdata
tombstones
tsdbutil
wlog [TESTS] Remote-Write: Fix BenchmarkStartup 2024-11-15 11:22:07 +00:00
.gitignore
block_test.go feat: Allow customizing TSDB postings decoder () 2024-11-11 07:59:24 +01:00
block.go [PERF] TSDB: Optimize inverse matching () 2024-11-19 15:49:01 +00:00
blockwriter_test.go feat: Allow customizing TSDB postings decoder () 2024-11-11 07:59:24 +01:00
blockwriter.go
CHANGELOG.md
compact_test.go feat: Allow customizing TSDB postings decoder () 2024-11-11 07:59:24 +01:00
compact.go Merge pull request from harry671003/implement_metadata_limit 2024-11-19 17:32:16 +01:00
db_test.go Always return unknown hint for first sample in non-gauge histogram chunk () 2024-11-12 15:14:06 +01:00
db.go feat: Allow customizing TSDB postings decoder () 2024-11-11 07:59:24 +01:00
example_test.go
exemplar_test.go tsdb.CircularExemplarStorage: Avoid racing () 2024-10-29 10:40:46 +01:00
exemplar.go tsdb.CircularExemplarStorage: Avoid racing () 2024-10-29 10:40:46 +01:00
head_append.go [BUGFIX] TSDB: Fix race on stale values in headAppender () 2024-11-06 16:51:39 +01:00
head_bench_test.go Revert "Fix MemPostings.Add and MemPostings.Get data race ()" 2024-11-03 12:30:34 +00:00
head_dedupelabels.go
head_other.go
head_read_test.go
head_read.go [PERF] TSDB: Optimize inverse matching () 2024-11-19 15:49:01 +00:00
head_test.go Always return unknown hint for first sample in non-gauge histogram chunk () 2024-11-12 15:14:06 +01:00
head_wal.go [BUGFIX] TSDB: Apply fixes from loadWAL to loadWBL 2024-11-11 18:41:33 +00:00
head.go Agent: allow for ingestion of CT samples () 2024-10-27 01:06:34 +01:00
isolation_test.go
isolation.go
mocks_test.go
ooo_head_read_test.go enable errorf rule from perfsprint linter 2024-11-06 16:50:36 +01:00
ooo_head_read.go [PERF] TSDB: Optimize inverse matching () 2024-11-19 15:49:01 +00:00
ooo_head_test.go Always return unknown hint for first sample in non-gauge histogram chunk () 2024-11-12 15:14:06 +01:00
ooo_head.go
ooo_isolation_test.go
ooo_isolation.go
querier_bench_test.go feat: Allow customizing TSDB postings decoder () 2024-11-11 07:59:24 +01:00
querier_test.go Merge pull request from harry671003/implement_metadata_limit 2024-11-19 17:32:16 +01:00
querier.go Optimize l=~".+" matcher () 2024-11-27 12:33:20 +01:00
README.md
repair_test.go feat: Allow customizing TSDB postings decoder () 2024-11-11 07:59:24 +01:00
repair.go
testutil.go Always return unknown hint for first sample in non-gauge histogram chunk () 2024-11-12 15:14:06 +01: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: