ipfs / js-ipfs

IPFS implementation in JavaScript
https://js.ipfs.tech
Other
7.44k stars 1.25k forks source link

fix: add node memory stats to prometheus output #4209

Closed achingbrain closed 2 years ago

achingbrain commented 2 years ago

The default prometheus memory stats are clunky and hard to interpret without additional tools like graphana because you get separate measurements for different types of memory usage.

Add a single nodejs_memory_usage metric that is the output of process.memoryUsage().