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
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
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
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
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
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
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
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
repair.go
repair_test.go
symbols_batch.go Fix linter errors in Grafana additions 2023-04-28 16:32:42 +02:00
symbols_batch_test.go
tsdbblockutil.go
wal.go Merge branch 'main' into linter/nilerr 2023-04-19 19:56:39 +02:00
wal_test.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: