pub fn discover_blocks(root: &Path) -> Result<Vec<BlockInfo>>
Discovers blocks under root.
root
root may be a Prometheus data directory (containing ULID block dirs plus wal/ and chunks_head/) or a single block directory.
wal/
chunks_head/