~/talk

Shopify's journey from conventional to native histograms

Talkat PromCon EU 2024 · 2024-09-11..09-12· [observability]
links:none on file
links:none on file
slides:none on file

Shopify migrates its Thanos-based backend and dashboards from conventional to native histograms, ingesting both via Prometheus and a forked StatsD exporter with a protobuf native-histogram endpoint while contributing native-histogram support upstream. The change yields 10–12× cardinality reduction for many metrics (request-time examples drop from ~100M series to ~10M), speeds queries but raises decoding memory in queriers (~20–30%) and causes some SLO flapping from dynamic buckets; migration uses scripted Grafana/GitHub automation and per-team cutovers.

AI-written summary · about

  1. 0:00Introduction to migration
  2. 1:28Conventional histograms explained
  3. 3:21Native histograms overview
  4. 5:47Challenges with classic histograms
  5. 8:02Migration to native histograms
  6. 10:10Dual ingestion setup
  7. 13:26Automated migration process
  8. 16:38Lessons learned from migration
  9. 19:29Q&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.