~/talk

Practical OpenTelemetry in Javascript/Typescript

Talkat NDC Oslo 2024 · 2024-06-10..06-14· [javascript, observability]
slides:none on file

Covers concrete JavaScript/TypeScript recipes: install the node SDK and get-node-auto-instrumentations to get library spans, use OTLP or console exporters, and disable noisy FS and verbose Express spans. Emphasizes adding resource attributes once per process, wrapping metrics in a meter class, enriching spans via a span enrichment helper, and using span events for structured logs. Explains sampling tradeoffs: head sampling vs tail sampling with ~5s tail delay, and recommends avoiding high‑cardinality metrics. Uses the Aspire dashboard for local debugging.

AI-written summary · about

  1. 0:00Introduction to speaker
  2. 1:31Why observability matters
  3. 7:40The OpenTelemetry standard
  4. 10:44Understanding telemetry signals
  5. 13:03Deep dive into traces and spans
  6. 17:00The role of logs
  7. 19:32Web instrumentation challenges
  8. 21:13Auto-instrumentation
  9. 23:10Coded instrumentation
  10. 24:23Implementation and logging
  11. 26:33Twelve-factor apps and OTel
  12. 28:00Instrumentation libraries
  13. 30:39Resource attributes
  14. 33:25Metrics instrumentation
  15. 36:18Tracing and data enrichment
  16. 38:01Advanced span patterns
  17. 46:39Naming and documentation
  18. 51:09The Aspire dashboard
  19. 52:07Sampling strategies
  20. 58:22Future and conclusion
~/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.