stats: add memoryUsageHeap value
parent
dda968e17d
commit
c0d9881a62
|
@ -58,6 +58,7 @@ exports.start = async () => {
|
|||
// start up stats counting system
|
||||
const stats = require('./stats');
|
||||
stats.gauge('memoryUsage', () => process.memoryUsage().rss);
|
||||
stats.gauge('memoryUsageHeap', () => process.memoryUsage().heapUsed);
|
||||
|
||||
await util.promisify(npm.load)();
|
||||
|
||||
|
|
Loading…
Reference in New Issue