
OpenTelemetry Instrumentation for Node.js
A hands-on guide to instrumenting Node.js with OpenTelemetry: traces, metrics and logs via auto-instrumentation, custom spans, context and exporters.
Tags
33 articles · Page 3 of 3

A hands-on guide to instrumenting Node.js with OpenTelemetry: traces, metrics and logs via auto-instrumentation, custom spans, context and exporters.

A step-by-step tutorial for an event-driven microservice with Node.js, RabbitMQ and TypeScript: publishing, consumption, DLQs and idempotent processing.

A step-by-step tutorial for a URL shortener with short code generation, redirect handling, click analytics and rate limiting — schema through API.

A step-by-step tutorial for a live-updating dashboard with WebSockets: server setup, connection management, data streaming, reconnection and scaling.

How to implement structured logging that makes production debugging fast: JSON formats, context propagation, log levels, data masking and aggregation.

A hands-on guide to GraphQL subscriptions for real-time updates: WebSocket transport, subscription resolvers, filtering and scaling considerations.

A complete guide to building, testing and distributing a Node.js CLI tool: argument parsing, interactive prompts, output formatting and npm publishing.

Techniques for diagnosing memory leaks, excessive allocation, and OOM kills in production — covering heap snapshots, profiling tools, and common leak patterns.

Patterns for integration tests that are reliable, fast, and catch real bugs — covering database setup, API testing, and avoiding flaky test syndrome.