Live coding with Ryan Dahl: Deno and OpenTelemetry
summary
Live coding shows a small API that randomly throws when a generated user ID starts with "a" and how Deno auto-instruments it so trace IDs attached to console logs make the bug trivial to find under load. Demo uses Hono, curl and Graphana, Deno 2.2 adds auto-instrumenting with one trace per HTTP request and spans for inbound/outbound calls, and exporting to observability backends works with no app code changes.
AI-written summary · about
chapters (9)
- 0:00Deno and OpenTelemetry intro
- 1:48Debugging production challenges
- 2:51Live coding buggy service
- 8:43Fixing the bug with OpenTelemetry
- 12:26Async context for automatic tracing
- 13:31Deno 2.2 built-in telemetry
- 15:20Telemetry in Deno Deploy
- 17:55JavaScript trademark digression
- 19:22Q&A
related talks
57mDaily Deno Development
37mGetting up to Speed with Deno
30mDeno
57mDon't miss the Deno Train
31mConsole.loggers Anonymous: A Debugging Roadmap from Local to Production
59mDeno, a new way to JavaScript
53mDeno – a better Node.js?
26mObservability for Your Internal Developer Platform: Instrumenting Bac...
