~/talk

How Prometheus indexes Data and Why You Should Care

links:none on file
slides:none on file

Explains that Prometheus stores data in 2 hour blocks and uses a postings index mapping label -> series and a series index mapping series -> chunks so query execution first picks overlapping blocks then intersects postings then scans per-series chunks and seeks samples, so cost multiplies with number of blocks and series. Every new label value creates a new series so high cardinality explodes work and disk seeks per chunk are the main expense. Mentions Promscale using TimescaleDB as an alternative backend.

AI-written summary · about

  1. 0:00Start
  2. 1:33Prometheus Data Model
  3. 1:56WHAT ARE SERIES?
  4. 2:21WHAT PROMETHEUS INDEX CARES ABOUT
  5. 3:01ANATOMY OF A BLOCK
  6. 4:53Series Index
  7. 6:14WHAT IS A QUERY?
  8. 10:26For a more complex query
  9. 13:04What is High-cardinality?
  10. 13:42Under high label cardinality
~/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.