Collect Node.js garbage collection duration metric.
Atelemetry
plugin.
const telemetry = require('@telemetry-js/telemetry')()
const gc = require('@telemetry-js/collector-nodejs-gc')
telemetry.task()
.collect(gc)
None.
With npm do:
npm install @telemetry-js/collector-nodejs-gc
This project is kindly sponsored by Reason Cybersecurity Ltd.
MIT © Vincent Weevers