prometheus/tsdb
Oleg Zaytsev 6d99731303
Single literal regexp value testcase for querier
It's common to see queries like bar=~"foo" from machine generated
queries in the fronted. These are not evaluated as regexps, but are a
single-value-set, i.e. and equality matchings instead.

This is just a testcase for a single-value case.

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
2021-06-01 09:57:48 +02:00
..
chunkenc Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
chunks Stop the bleed on chunk mapper panic (#8723) 2021-05-06 14:18:59 -06:00
docs/format Add Exemplar Remote Write support (#8296) 2021-05-06 13:53:52 -07:00
encoding
errors MultiError: Refactored MultiError for more concise and safe usage. (#8066) 2020-10-28 15:24:58 +00:00
fileutil More info in mmap error message (#8058) 2020-10-15 12:58:13 +05:30
goversion
index typos correct 2021-05-20 09:52:33 +08:00
record Add Exemplar Remote Write support (#8296) 2021-05-06 13:53:52 -07:00
test labels: Reduce allocated memory and latency of Hash method; Added tests. (#8025) 2020-10-15 11:31:28 +01:00
testdata
tombstones Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
tsdbutil storage: Split chunks if more than 120 samples (#8582) 2021-05-18 18:37:16 +02:00
wal Improve wal.go segments sequential validation (#8859) 2021-05-25 15:38:35 +05:30
.gitignore
block_test.go allow compact series merger to be configurable (#8836) 2021-05-18 18:38:37 +02:00
block.go Rolling tombstones clean up (#8007) 2021-02-17 11:02:43 +05:30
blockwriter_test.go fix failing blockwriter tests 2021-03-01 06:16:05 -08:00
blockwriter.go allow compact series merger to be configurable (#8836) 2021-05-18 18:38:37 +02:00
CHANGELOG.md Rename default branch to main 2021-02-22 20:28:02 +01:00
compact_test.go allow compact series merger to be configurable (#8836) 2021-05-18 18:38:37 +02:00
compact.go allow compact series merger to be configurable (#8836) 2021-05-18 18:38:37 +02:00
db_test.go Stop the bleed on chunk mapper panic (#8723) 2021-05-06 14:18:59 -06:00
db.go allow compact series merger to be configurable (#8836) 2021-05-18 18:38:37 +02:00
exemplar_test.go typos correct 2021-05-20 09:52:33 +08:00
exemplar.go validate exemplar labelSet length first (#8816) 2021-05-12 20:17:05 +05:30
head_bench_test.go TSDB: optimize series creation on PreCreation() failure (#8620) 2021-03-18 20:53:50 +05:30
head_test.go typos correct 2021-05-14 09:34:44 +08:00
head.go Add Exemplar Remote Write support (#8296) 2021-05-06 13:53:52 -07:00
isolation_test.go
isolation.go
mocks_test.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
querier_bench_test.go Combine Appender.Add and AddFast into a single Append method. (#8489) 2021-02-18 17:37:00 +05:30
querier_test.go Single literal regexp value testcase for querier 2021-06-01 09:57:48 +02:00
querier.go Correct spelling of "iterable" (#8713) 2021-04-12 21:43:42 +01:00
README.md Link blog post on TSDB queries in tsdb/README.md (#8391) 2021-01-21 17:14:40 +05:30
repair_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
repair.go MultiError: Refactored MultiError for more concise and safe usage. (#8066) 2020-10-28 15:24:58 +00:00
tsdbblockutil.go Combine Appender.Add and AddFast into a single Append method. (#8489) 2021-02-18 17:37:00 +05:30
wal_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
wal.go remove the param that is not used 2021-05-13 20:15:13 +08:00

TSDB

GoDoc

This directory contains the Prometheus storage layer that is used in its 2.x releases.

A writeup of its design can be found here.

Based on the Gorilla TSDB white papers.

Video: Storing 16 Bytes at Scale from PromCon 2017.

See also the format documentation.

A series of blog posts explaining different components of TSDB: