What is OpenTelemetry? A Look Through node.js
summary
Shows how OpenTelemetry actually wires into Node.js: starting the Node SDK and auto-instrumentation takes about 80 lines of code to emit logs, metrics, traces and enable profiling; context propagation uses AsyncLocalStorage and cross-service linking is done with traceparent headers. Demos include breaking a prod endpoint, auto-instrumenting Express/MongoDB/gRPC by monkey‑patching require/import, shipping to a Grafana backend via an OpenTelemetry Collector, and continuous low‑overhead V8 CPU profiling that works in production.
AI-written summary · about
chapters (10)
- 0:00Introduction and setup
- 1:14What is observability
- 3:46Logs metrics and traces
- 8:07Performance analysis with metrics
- 11:44OpenTelemetry overview
- 14:41OpenTelemetry SDK concepts
- 20:07Context propagation in distributed systems
- 22:16Instrumentation and auto-instrumentation
- 25:59Profiling with OpenTelemetry
- 27:46Personal takeaways and contributions
