~/talk

How we converted our Cortex data to TSDB blocks

Talkat PromCon Online 2021 · on Monday, 2021-05-03· [databases, observability]
slides:none on file

Describes converting hundreds of terabytes of Cortex chunk data into Prometheus TSDB blocks using three components: an index scanner, block builder, and scheduler that produces plan files per user-day from a full index scan. Block builders download chunks, deduplicate samples, sort series (moved to disk after hitting a 30 GB memory limit), write segment and index files, and emit meta.json; an early compaction-metadata bug was fixed. Result: all chunks become TSDB blocks and Bigtable instances are downscaled, conversion completed in days.

AI-written summary · about

  1. 0:00Start
  2. 0:15Introduction
  3. 1:52Original Storage in Cortex
  4. 4:02Tsdb Blocks
  5. 4:51Segment Files
  6. 5:31Index in Tsdb Block
  7. 9:37Scanner Scans the Index Tables in Cortex
  8. 11:40Block Builder
  9. 15:31Meta Json Files
  10. 16:07Memory
  11. 16:35Horizontal Scaling
  12. 21:10Meta Json File
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.