~/talk

The gentle touch of APM - how code tracing works in Node.js

Talkat nodejsday 2020 · on Wednesday, 2020-10-14· [nodejs]
slides:none on file

Shows how Elastic APM actually instruments Node.js: a small agent module required at startup hooks into frameworks or monkey‑patches libraries, emits transaction and span JSON, captures headers/body/user context and full JavaScript stack frames with file and line via stackman, groups errors and visualizes a service map, and supports distributed tracing by propagating a trace id. Sampling reduces cost and measured overhead is typically single‑digit CPU impact, so it works in production.

AI-written summary · about

  1. 0:00Introduction
  2. 1:56What is APM and tracing
  3. 5:28Elastic APM architecture
  4. 9:19APM agents collect data
  5. 10:02Exploring APM UI
  6. 21:40Error handling walkthrough
  7. 24:07Transaction instrumentation
  8. 25:32APM agent loading
  9. 26:14Recording errors
  10. 31:15Request/response context
  11. 35:34Stack traces in detail
  12. 39:46Library vs app code
  13. 40:30APM in Elastic Stack
  14. 42:16Learn more about APM
  15. 43:26Q&A: Performance impact
  16. 45:34Q&A: Adding APM to apps
  17. 46:59Q&A: Distributed tracing
  18. 48:23Q&A: Node.js vs RUM
  19. 50:10Q&A: Node.js observability
~/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.