data/chunk_snapshot.000005.000123/

Memory Snapshot

On clean shutdown (with --enable-feature=memory-snapshot-on-shutdown) Prometheus dumps the head block's in-memory state into a chunk_snapshot.X.Y directory using the WAL package: each structure below is the payload of one WAL record. On restart, replaying this snapshot plus the m-mapped head chunks is much faster than a full WAL replay.

Record order is fixed: all series records first (unsorted), then exactly one tombstones record, then exemplar records batching the exemplar circular buffer in write order.

Open the interactive byte explorer →

Field notes & invariants

← All TSDB formats