mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
stats: add memoryUsageHeap value
This commit is contained in:
parent
dda968e17d
commit
c0d9881a62
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue