~/talk

Counting with Prometheus

Talkat CloudNativeCon + KubeCon Europe 2017 · on Wednesday, 2017-03-29· at 12:00· A 06· [observability]
links:none on file
slides:none on file

Prometheus counters are monotonically increasing values exported (never reset except on process restart) so rate() computes per-second throughput by extrapolating edge samples, handling counter resets, and averaging across scrapes; increase() is just rate()seconds. Extrapolation rules avoid overcounting short-lived series, irate() uses the last two points for microbursts, and the Java Dropwizard meter is ~6x slower than a Prometheus counter in benchmarks. Recommended defaults: 1 minute for most metrics, 15s or lower for high-resolution debugging, and keep label cardinality near 10 per metric*.

AI-written summary · about

  1. 0:00Intro
  2. 0:47Architecture
  3. 1:38Counting... to the Extreme
  4. 2:20Counters and Gauges
  5. 2:55Events are key
  6. 4:07Counter Reset. Normal Operation
  7. 4:32Resetting Count Problems
  8. 5:19Counter Reset. Failed Transfer
  9. 6:33Exponential Moving Average. Normal Operation
  10. 7:42Approach #2 Exponential moving average Problems
  11. 9:48Graphite's summarize and non-aligned data
  12. 10:33Expressive Power
  13. 13:12Prometheus Counters: Rate
  14. 13:58Prometheus Counters: Resets
  15. 14:55Prometheus Counters: Missed scrapes
  16. 15:08Prometheus Counters: Alignment
  17. 18:37rate() extrapolation
  18. 21:40Problem: Lag
  19. 23:10Client Implications
  20. 25:35Other performance considerations
  21. 27:14Best Practices
  22. 28:44irate(): The other rate function
  23. 30:06irate(). Failed Transfer
  24. 30:25Steps and rate durations
  25. 31:24Compound Types: Summary
  26. 32:00Compound Types: Histogram
  27. 33:10Resources
~/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.