Preparing for system design interviews?  Try bugzed.com →

OpenTelemetry ws Instrumentation

JSON →
library 0.5.0 ·javascript
verified Jun 7, 2026

OpenTelemetry instrumentation for the `ws` WebSocket library, providing automatic tracing of socket lifecycle events: opens, closes, sends, and optionally messages. Current version 0.5.0 is stable, released monthly. Differentiates from manual instrumentation by patching the `ws` module transparently, supporting both client (`WebSocket`) and server (`ws.Server`) sides, and offering hooks for custom attributes. Requires `ws@^8.5.0` as a peer dependency and the OpenTelemetry Node SDK.

total hits 8
actors 3 distinct systems
last hit 16d ago AhrefsBot
GPTBot
3
Humans
3

top countries 🇺🇸 United States · 🇸🇬 Singapore · MM · 🇫🇮 Finland · 🇨🇦 Canada