Node.js · Senior · Question 46 of 75
What is diagnostics_channel for?
- ✓Correct answer: Letting libraries publish named diagnostic events that tracing and monitoring tools subscribe to with low overhead
- 2Debugging over a network channel
- 3Sending logs to a remote server
Explanation
Node.js core (http, undici) and libraries like Fastify publish events through it, so APMs don't need to monkey-patch modules.