Since Node v11.10.0 Node.js has built in support for monitoring event loop delay: https://nodejs.org/api/perf_hooks.html#perf_hooks_perf_hooks_monitoreventloopdelay_options I would suggest to use that rather than then current tracking: https://github.com/siimon/prom-client/blob/9b4ef105cbc914e0ca50d9fbca9113deeb3db663/lib/metrics/eventLoopLag.js#L26-L27
Since Node v11.10.0 Node.js has built in support for monitoring event loop delay: https://nodejs.org/api/perf_hooks.html#perf_hooks_perf_hooks_monitoreventloopdelay_options
I would suggest to use that rather than then current tracking:
https://github.com/siimon/prom-client/blob/9b4ef105cbc914e0ca50d9fbca9113deeb3db663/lib/metrics/eventLoopLag.js#L26-L27