prometheus/tsdb
Ganesh Vernekar eeace6bcab
Add couple of metrics to track sparse histograms in TSDB (#9271)
* Add couple of metrics to track sparse histograms in TSDB

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix Beorn's comments

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-08-30 19:08:44 +05:30
..
chunkenc Cut a new chunk on counter resets for any bucket 2021-08-24 20:02:08 +05:30
chunks remove redundant parentheses (#9134) 2021-07-29 18:26:57 +05:30
docs/format Sync sparsehistogram branch with main (#9189) 2021-08-11 15:43:17 +05:30
encoding Log sparse histograms into WAL and replay from it (#9191) 2021-08-11 17:38:48 +05:30
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 tsdb: test for leaks (#7566) 2020-07-21 10:08:06 +02:00
index LabelNames API with matchers (#9083) 2021-07-20 18:08:08 +05:30
record Log sparse histograms into WAL and replay from it (#9191) 2021-08-11 17:38:48 +05:30
test labels: Reduce allocated memory and latency of Hash method; Added tests. (#8025) 2020-10-15 11:31:28 +01:00
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 2020-08-11 06:56:08 +01:00
tombstones Switched to go-kit/log 2021-06-11 12:28:36 -04:00
tsdbutil Query histograms from TSDB and unit test for append+query (#9022) 2021-06-30 20:18:13 +05:30
wal Sync sparsehistogram branch with main (#9189) 2021-08-11 15:43:17 +05:30
.gitignore Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
block.go LabelNames API with matchers (#9083) 2021-07-20 18:08:08 +05:30
block_test.go LabelNames API with matchers (#9083) 2021-07-20 18:08:08 +05:30
blockwriter.go Switched to go-kit/log 2021-06-11 12:28:36 -04:00
blockwriter_test.go Switched to go-kit/log 2021-06-11 12:28:36 -04:00
CHANGELOG.md Rename default branch to main 2021-02-22 20:28:02 +01:00
compact.go Switched to go-kit/log 2021-06-11 12:28:36 -04:00
compact_test.go Fix queries on blocks for sparse histograms and add unit test (#9209) 2021-08-16 18:52:29 +05:30
db.go Sync sparsehistogram branch with main (#9189) 2021-08-11 15:43:17 +05:30
db_test.go tsdb: Block Head GC till pending readers are done reading (#9081) 2021-07-20 14:17:20 +05:30
exemplar.go Exemplar resize (#8974) 2021-07-20 10:22:57 +05:30
exemplar_test.go Exemplar resize (#8974) 2021-07-20 10:22:57 +05:30
head.go Add couple of metrics to track sparse histograms in TSDB (#9271) 2021-08-30 19:08:44 +05:30
head_append.go Add couple of metrics to track sparse histograms in TSDB (#9271) 2021-08-30 19:08:44 +05:30
head_bench_test.go React UI: Add Starting Screen (#8662) 2021-06-05 15:29:32 +01:00
head_read.go Merge remote-tracking branch 'upstream/main' into sparse-refactor 2021-08-05 12:16:08 +05:30
head_test.go Log sparse histograms into WAL and replay from it (#9191) 2021-08-11 17:38:48 +05:30
head_wal.go Log sparse histograms into WAL and replay from it (#9191) 2021-08-11 17:38:48 +05:30
isolation.go Add present_over_time (#9097) 2021-07-29 12:38:11 +02:00
isolation_test.go tsdb: Block Head GC till pending readers are done reading (#9081) 2021-07-20 14:17:20 +05:30
mocks_test.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
querier.go Merge remote-tracking branch 'upstream/main' into sparse-refactor 2021-08-05 12:16:08 +05:30
querier_bench_test.go React UI: Add Starting Screen (#8662) 2021-06-05 15:29:32 +01:00
querier_test.go LabelNames API with matchers (#9083) 2021-07-20 18:08:08 +05:30
README.md Replace godoc.org links 2021-06-17 07:18:51 -04:00
repair.go Switched to go-kit/log 2021-06-11 12:28:36 -04:00
repair_test.go React UI: Add Starting Screen (#8662) 2021-06-05 15:29:32 +01:00
tsdbblockutil.go Switched to go-kit/log 2021-06-11 12:28:36 -04:00
wal.go Switched to go-kit/log 2021-06-11 12:28:36 -04:00
wal_test.go Switched to go-kit/log 2021-06-11 12:28:36 -04:00

TSDB

GoPkg

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: