Expand description
Block discovery and meta.json parsing.
Structs§
- Block
Info - A discovered block: where it lives, what it claims, and how big it is.
- Block
Meta - The decoded contents of a block’s
meta.json. - Block
Meta Compaction - Compaction lineage recorded in
meta.json. - Block
Stats - Sample, series and chunk counters copied from
meta.json. - Parent
Meta - One time range that a compacted block was built from.
Constants§
- META_
VERSION - The only
meta.jsonformat version Prometheus writes.
Functions§
- discover_
blocks - Discovers blocks under
root. - read_
meta - Parses a
meta.jsonfile.