~/talk

How to Use Prometheus's Native Histograms

Talkat SREcon23 Europe/Middle East/Africa · 2023-10-10..10-12· [observability]
slides:none on file

Prometheus adds a new sample type: timestamped histograms stored as one series with dynamic exponential buckets that disappear when empty, enabling affordable label partitioning and higher detail. Benchmarks show 10x resolution at half the price. Instrumentation is available for Go and Java (native bucket factor / schema, e.g. bucket growth ≈10%), OpenTelemetry compatibility via exponential histograms and proto scrape, and server support behind feature flag enable_feature_native_histograms; defaults include 160 max buckets with resets and resolution-halving when needed.

AI-written summary · about

  1. 0:00Introduction
  2. 3:15Histograms for SREs
  3. 8:59Classic histogram problems
  4. 13:17Native histograms features
  5. 17:29Instrumentation in Go and Java
  6. 21:42Setting up Prometheus for native histograms
  7. 23:31Querying in PromQL
  8. 24:56Quantiles and percentiles
  9. 27:47Averages and SLO fractions
  10. 31:14Uptime score and heat maps
  11. 33:19Limitations and future
  12. 35:49Resources and closing
~/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.