Skip to main content

Module meta

Module meta 

Source
Expand description

Block discovery and meta.json parsing.

Structs§

BlockInfo
A discovered block: where it lives, what it claims, and how big it is.
BlockMeta
The decoded contents of a block’s meta.json.
BlockMetaCompaction
Compaction lineage recorded in meta.json.
BlockStats
Sample, series and chunk counters copied from meta.json.
ParentMeta
One time range that a compacted block was built from.

Constants§

META_VERSION
The only meta.json format version Prometheus writes.

Functions§

discover_blocks
Discovers blocks under root.
read_meta
Parses a meta.json file.