~/talk

Are You Testing Your Observability? Patterns for Instrumenting Your Go Services

Talkat GoDays 2020 · 2020-01-21..01-23· [observability, testing]
name:Kemal
links:none on file
links:none on file
slides:none on file

Shows how to add concrete Prometheus metrics to a Go HTTP reverse proxy, including counter and histogram code snippets using Prometheus client_golang, exposes /metrics, and demos scraping with Prometheus to plot requests per minute and error counts. Replaces global metrics with a custom Registry and per-instance structs to avoid name clashes. Demonstrates unit-test assertions that catch a buggy recorder, explains histogram bucket tuning, cardinality limits, and initializing series so alerts actually fire.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 1:50Why instrument Go services
  3. 6:25Adding metrics in Go
  4. 11:11Avoiding global state pitfalls
  5. 16:49Testing metrics properly
  6. 23:22Consistency with RED method
  7. 25:49Naming conventions for metrics
  8. 28:41Cardinality and labels
  9. 31:11Histogram bucket pitfalls
  10. 35:27Initializing metrics
  11. 37:13Key takeaways and summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.