~/talk

Source Instrumentation for Monitoring C++ in Production

Talkat NDC Oslo 2019 · 2019-06-17..06-21· [observability]
links:none on file
slides:none on file

Argues that C++ must carry portable source instrumentation—logging, tracing and metrics—inside production builds so failures are diagnosable without debuggers; demonstrates using strace for syscall visibility, structured logging (fielded logs to avoid regex parsing) and cheap atomic counters that increment in hot loops and are polled every 1–5s to emit Prometheus/OpenMetrics-style metrics. Explains distributed traces via passed IDs, sampling and aggregation trade-offs, and motivates the approach with a $5–10M chip-debugging anecdote to show why observability must be designed and measured.

AI-written summary · about

  1. 0:00Introduction
  2. 2:03First Attempt at C
  3. 3:47Debugging
  4. 7:16Instrumentation
  5. 11:40Logging
  6. 12:53Adding Context
  7. 18:18Structured Logging
  8. 20:58Tracing
  9. 23:23Tracing and Logging
  10. 26:42Distributed Tracing
  11. 27:46Logging to Tracing
  12. 29:56Linking Operations
  13. 30:42Visualization
  14. 33:00Tracings not free
  15. 34:36Metrics
  16. 38:49Open Metrics
  17. 40:03Counters
  18. 42:40increment operation
  19. 43:03other counters
  20. 43:50reading lines
  21. 50:27conclusion
~/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.