Node.js module

diagnostics_channel

The 'node:diagnostics_channel' module provides a mechanism to create named channels to report arbitrary messages and data within an application. It enables instrumenting libraries and user code without introducing heavy dependencies.

Listeners can subscribe to channels to receive structured diagnostic events, making it useful for logging, tracing, and performance monitoring in production environments.

Fully supported in Bun

Fully implemented.

Functions 6

Classes 1

Interfaces 8

Types 1