~/talk

Advancing Observability With Compile-Time Auto-Instrumentation in Golang

Talkat KubeCon + CloudNativeCon China 2025 · on Tuesday, 2025-06-10· at 14:30· Level 16 | Grand Ballroom I· [observability]
links:none on file
links:none on file
slides:none on file

An implementation wraps the go build process to perform compile-time auto-instrumentation by analyzing a dry-run log, matching dependency rules, injecting helper packages, and rewriting compiled IR to insert trampoline jumps into matched functions such as net HTTP RoundTripper. It implements automatic context propagation via a goroutine local storage copied on goroutine creation, uses go:linkname to redirect to instrumentation hooks, and emits traces and metrics to an OpenTelemetry collector; the demo shows four generated traces, Prometheus metrics and Jaeger traces.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Why Go for instrumentation
  3. 6:29Observability techniques compared
  4. 10:50Go compilation and AST
  5. 14:28Zero-code instrumentation stages
  6. 17:23Context propagation in traces
  7. 20:18Custom and auto-instrumentation unified
  8. 21:43Logs and traces auto-correlation
  9. 23:30Live demo
  10. 28:06Project history and future
  11. 30:17Q&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.