~/talk

Downsampling in Prometheus

Talkat PromCon EU 2025 · 2025-10-21..10-22· [databases, observability]
links:none on file
slides:none on file

Downsampling is defined as reducing sample rate while keeping recent full-resolution data; current practical options are federation or recording rules with remote_write to a long‑term Prometheus. An experimental promtool offline TSDB command implements both simple decimation and the LTTB (largest‑triangle‑three‑buckets) algorithm and runs on a 21 GB, 1‑year, 15s dataset, but a bug prevents trustworthy space‑saving numbers. Findings: counters and histograms downsample well, gauges do not, and fewer samples hurt TSDB compression efficiency.

AI-written summary · about

  1. 0:00Downsampling in Prometheus
  2. 1:26What downsampling means
  3. 3:09Prometheus as multi-rate system
  4. 4:13Defining downsampling
  5. 6:38Visualizing counters and gauges
  6. 8:25Current downsampling methods
  7. 11:40Trade-offs of approaches
  8. 12:24Selecting samples for downsampling
  9. 13:52Largest triangle three buckets
  10. 16:40Experimenting with algorithms
  11. 17:46Challenges in storage
  12. 19:56Future plans and feedback
  13. 20:17Key takeaways
  14. 21:22Q&A
~/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.