Nov 09, 2023

The blocked() function reports every value over the configured threshold (defaulted to 10ms). You can then do whatever you want with that value, graph it, log it, alert, etc.

see also blocked-at which will give you a stack trace at a large performance cost.

It is very frustrating that node does not provide this tooling natively.

↑ up