Observability with diagnostics_channel and AsyncLocalStorage
watch on portal.gitnation.org ↗https://portal.gitnation.org/contents/observability-with-diagnosticschannel-and-asynclocalstoragesummary
Shows how Node's diagnostics_channel and AsyncLocalStorage work together for high-performance event tracking and context propagation across calls, callbacks, and promise continuations. Describes a tracing model built from five distinct events delivered on separate diagnostics_channel channels, including capture of errors and return values, and explains that a span object held in AsyncLocalStorage contains execution data which is reported to the tracer when the span ends.
AI-written summary · about
related talks
08mComprehensive Observability via Distributed Tracing on Node.js8
46mObservability in an Asynchronous World
17mLogging, Metrics, and Tracing with Node.js
26mThe Trouble with Tracers
24mObservability across serverless asynchronous managed services
26mObserving Node.js
52mModern Observability and Event Driven Architectures
31mConsole.loggers Anonymous: A Debugging Roadmap from Local to Production