sarp
sarp

Reputation: 3750

How to monitor memory usage on heroku (node.js)

There is New Relic for Rails, but I could not find anything available for node.js. Is there any tool or an API to monitor memory usage of heroku dynos?

Upvotes: 9

Views: 4379

Answers (3)

Arunoda Susiripala
Arunoda Susiripala

Reputation: 2534

Use node-usage, additionally you can see the CPU usage too.

Upvotes: 1

mikegradek
mikegradek

Reputation: 359

Although not as full-featured as New Relic, the nodetime npm package (and matching site) does provide memory usage, latency and similar monitoring.

Upvotes: 1

Michelle Tilley
Michelle Tilley

Reputation: 159135

This may not be the full solution you're looking for, but you can get the current memory usage of a Node.js process via process.memoryUsage().

Upvotes: 4

Related Questions