node-server icon indicating copy to clipboard operation
node-server copied to clipboard

Support Node.js HTTP events for more granular control of server behavior.

Open rafaell-lycan opened this issue 7 months ago • 6 comments

Hi, I've created a discussion but it's worth adding it here as well.

Essentially Node.js has its own HTTP events such as close | error | finish | timeout that can be used with middleware like morgan to log/collect data and more.

To add more context, we use it to collect metrics such as response time, request ID (UUID generated by another middleware), and other things.

rafaell-lycan avatar Nov 30 '23 10:11 rafaell-lycan