~/talk

Logging, Metrics, and Tracing with Node.js

Talkat Node Congress 2021 · 2021-02-18..02-19· [observability, nodejs]

Logging metrics and tracing are framed as three concrete observability tools with runnable examples: a winston logger singleton that emits JSON and a request-scoped child logger with UUID request ids, statsd middleware pushing timing and status codes into a statsd → graphite → grafana stack, and Zipkin hooks that produce spans (one example shows a span at 131 ms and an actual Lob request at ~850 ms). Dashboards surface six 500 errors in 24 hours and code shows where headers and stacks get emitted.

AI-written summary · about

  1. 0:00Intro
  2. 2:19Winston Example
  3. 3:28Common Logging Conventions
  4. 5:48What do logs look like?
  5. 7:48Example Code
  6. 9:04What do Metrics look like?
  7. 10:09What is Distributed Tracing?
  8. 11:47Example Tracing Implementation
  9. 14:38What does Tracing look like?
~/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.