~/talk

Experiments in Backing Prometheus with Clickhouse

Talkat Monitorama PDX 2024 · 2024-06-10..06-12· [observability, data-engineering]
slides:none on file

Builds a Remote Write/Read bridge that inserts Prometheus samples into ClickHouse and replays a week of real queries against 24 hours (~850 GB) of production data on a 92‑core node. Naive schema peaks at ~1.8 TB then compacts to ~1 TB via merge tree parts; switching to nested fields yields ~380 GB (about half Prometheus’s ~750 GB) but increases query latency (often ~4× for heavy queries). Translating regexes to native OR/prefix/LIKE and adding an n‑gram BFV index (n=5) cuts tail latency while adding ~100 GB.

AI-written summary · about

  1. 0:00Introduction to ClickHouse
  2. 1:06Overcoming Prometheus limits
  3. 2:19The Prometheus bridge
  4. 3:15Remote read and write
  5. 3:53Benchmarking setup
  6. 8:30MergeTree performance
  7. 12:05Low cardinality fields
  8. 14:18Nested field strategy
  9. 17:09Encoding analysis
  10. 20:00Optimizing query patterns
  11. 24:31Results and future work
  12. 25:56Q&A session
~/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.