prometheus/tsdb
Nidhey Nitin Indurkar e970f70ced Feat: Get block by id directly on promtool analyze & get latest block if ID not provided (#12031)
* feat: analyze latest block or block by ID in CLI (promtool)

Signed-off-by: nidhey27 <nidhey.indurkar@infracloud.io>

* address remarks

Signed-off-by: nidhey60@gmail.com <nidhey.indurkar@infracloud.io>

* address latest review comments

Signed-off-by: nidhey60@gmail.com <nidhey.indurkar@infracloud.io>

---------

Signed-off-by: nidhey27 <nidhey.indurkar@infracloud.io>
Signed-off-by: nidhey60@gmail.com <nidhey.indurkar@infracloud.io>
2023-07-04 13:39:01 +00:00
..
agent tsdb: drop deleted series from the WAL sooner (#12297) 2023-05-01 16:43:15 +01:00
chunkenc Fix errors from merge 2023-05-23 01:10:09 +08:00
chunks Fix linter errors in Grafana additions 2023-04-28 16:32:42 +02:00
docs
encoding Merge 'main' into sparsehistogram 2022-10-05 22:14:49 +02:00
errors Fix context.Canceled wrapping in compaction 2023-03-23 11:41:28 +01:00
fileutil
goversion lint: Adjust to the lint warnings raised by current versions of golint-ci 2023-04-19 17:10:10 +02:00
hashcache
index Merge remote-tracking branch 'upstream/main' 2023-05-23 00:20:36 +08:00
record tsdb: Add counter reset hint to histograms and support in WAL 2023-01-10 17:41:53 +05:30
testdata
tombstones Merge remote-tracking branch 'upstream/main' 2023-05-23 00:20:36 +08:00
tsdbutil Fix populateWithDelChunkSeriesIterator and gauge histograms (#12330) 2023-05-19 10:24:06 +02:00
wlog Merge remote-tracking branch 'upstream/main' 2023-05-23 00:20:36 +08:00
.gitignore
async_block_writer.go Fix bug in populateBlock when it could return with some asyncBlockWriter still running. 2023-01-09 17:15:45 +01:00
block.go Allow to configure compacted blocks postings for matchers cache 2023-03-22 06:40:11 +01:00
block_test.go Merge remote-tracking branch 'upstream/main' 2023-04-26 21:25:21 +08:00
blockwriter.go Merge remote-tracking branch 'upstream/main' 2022-11-23 01:39:23 +08:00
blockwriter_test.go Name float values as "floats", not as "values" 2023-04-13 19:25:24 +02:00
CHANGELOG.md
compact.go Fix errors from merge 2023-05-23 01:10:09 +08:00
compact_test.go Merge remote-tracking branch 'upstream/main' 2023-04-26 21:25:21 +08:00
db.go Feat: Get block by id directly on promtool analyze & get latest block if ID not provided (#12031) 2023-07-04 13:39:01 +00:00
db_test.go Feat: Get block by id directly on promtool analyze & get latest block if ID not provided (#12031) 2023-07-04 13:39:01 +00:00
example_test.go storage: allow re-use of iterators 2022-12-15 18:32:45 +00:00
exemplar.go ci(lint): enable predeclared linter 2023-07-04 13:38:31 +00:00
exemplar_test.go
head.go Remove samplesPerChunk from memSeries (#12390) 2023-07-04 13:38:31 +00:00
head_append.go Remove samplesPerChunk from memSeries (#12390) 2023-07-04 13:38:31 +00:00
head_append_test.go
head_bench_test.go
head_read.go Merge remote-tracking branch 'upstream/main' 2023-05-23 00:20:36 +08:00
head_read_test.go Fix merge conflicts 2022-10-11 22:53:37 +05:30
head_test.go Remove samplesPerChunk from memSeries (#12390) 2023-07-04 13:38:31 +00:00
head_wal.go Remove samplesPerChunk from memSeries (#12390) 2023-07-04 13:38:31 +00:00
isolation.go ci(lint): enable predeclared linter 2023-07-04 13:38:31 +00:00
isolation_test.go
mocks_test.go
ooo_head.go Name float values as "floats", not as "values" 2023-04-13 19:25:24 +02:00
ooo_head_read.go Merge remote-tracking branch 'upstream/main' 2023-04-26 21:25:21 +08:00
ooo_head_read_test.go Name float values as "floats", not as "values" 2023-04-13 19:25:24 +02:00
ooo_head_test.go Name float values as "floats", not as "values" 2023-04-13 19:25:24 +02:00
postings_for_matchers_cache.go Allow forcing usage of PostingsForMatchersCache 2022-12-28 13:44:10 +01:00
postings_for_matchers_cache_test.go Fix linter errors in Grafana additions 2023-04-28 16:32:42 +02:00
querier.go Fix errors from merge 2023-05-23 01:10:09 +08:00
querier_bench_test.go Opmizing Group Regex (#12375) 2023-07-04 13:39:01 +00:00
querier_test.go Opmizing Group Regex (#12375) 2023-07-04 13:39:01 +00:00
README.md Fixed broken link in tsdb README.md 2022-10-07 16:20:20 +00:00
repair.go
repair_test.go Simplify IndexReader.Series interface 2022-12-19 15:22:09 +00:00
symbols_batch.go Fix linter errors in Grafana additions 2023-04-28 16:32:42 +02:00
symbols_batch_test.go
tsdbblockutil.go Support FloatHistogram in TSDB (#11522) 2022-12-28 14:25:07 +05:30
wal.go Merge branch 'main' into linter/nilerr 2023-04-19 19:56:39 +02:00
wal_test.go TSDB: Rename wal package to wlog (#11352) 2022-10-10 20:38:46 +05:30

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: