~/talk

The Key To Go Efficiency Is Just a Few Prometheus Metrics Away!

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

Explains how to collect actionable Go runtime metrics with Prometheus client_golang, using the new runtime/metrics (Go 1.16) API to grab all metrics atomically and filter by regex. Calls out ~90 metrics now exposed, with a community recommended ~10-12 metrics for generic production use. Shows concrete signals to watch: GOMAXPROCS, GOGC (now reloadable via runtime.gogc), and GOMEMLIMIT (G limit since Go 1.19, metric added ~1.21), and gives registry options and examples of when GC tuning or memory limits fix real regressions.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:06Why monitor Go runtime metrics
  3. 5:01Collecting runtime metrics with Prometheus
  4. 9:57Key recommended Go runtime metrics
  5. 17:05Memory-related metrics deep dive
  6. 21:16Concurrency and scheduling metrics
  7. 23:24Summary and call to action
  8. 24:46Q&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.