~/talk

Throw Me a Lifebuoy: Debugging Node.js in Production with Diagnostic Reports

Talkat Node+JS Interactive 2019 · 2019-12-11..12-12· [nodejs, observability]
links:none on file
slides:none on file

Node.js can emit a large JSON diagnostic report (often ~25–28K) that captures header, JS and native stacks, heap, libuv/event-loop state and env; it’s available behind an experimental flag, triggerable on crash or by signal, and reveals things like a missing feature (rimraf recursive landed in 12.10) that stack traces miss. report-toolkit parses these files to redact secrets, run an inspect step (built-in long timeout rule detects stray timers), produce focused diffs, and emit stack-hash counts for aggregation.

AI-written summary · about

  1. 0:00Introduction
  2. 0:28Who am I
  3. 1:14Process Crash
  4. 1:26Stack Trace
  5. 1:47Delete temp directory
  6. 2:04Error not empty
  7. 2:33Diagnostic Report
  8. 4:06Experimental Report
  9. 4:36Troubleshooting
  10. 5:33JS Stack
  11. 5:50Native Stack
  12. 6:03libuv
  13. 6:33user limits
  14. 7:08Nodejs version
  15. 7:38Leaked environment
  16. 8:19Deleting secrets
  17. 8:36Multitool
  18. 9:12Redact
  19. 9:50Replace
  20. 10:25Zombie Process
  21. 10:55Diagnostic Reports
  22. 11:42Create Diagnostic Report
  23. 12:00Event Loop
  24. 12:41Inspect Sub Command
  25. 14:05Output
  26. 15:07F flaky process
  27. 15:33Diff tool
  28. 17:33Count exceptions
  29. 18:37Script Report Toolkit
  30. 19:51Customization
  31. 20:43Summary
  32. 21:28Documentation
  33. 21:53IBM Project
  34. 22:15Christopher Hiller
~/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.