mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 06:04:05 -08:00
5d75a3dc7b
This adds a basic compactor that will merge two persisted blocks into one. It simply fully rewrites the index and concatenates the chunk lists. It just writes into the current working dir and doesn't properly handle which blocks to compact for now. |
||
---|---|---|
chunks | ||
cmd/tsdb | ||
labels | ||
test | ||
block.go | ||
compact.go | ||
db.go | ||
db_amd64.go | ||
db_test.go | ||
db_unix.go | ||
head.go | ||
postings.go | ||
postings_test.go | ||
querier.go | ||
querier_test.go | ||
reader.go | ||
wal.go | ||
wal_test.go | ||
writer.go |