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?
3 Answers
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().
2 Comments
shredding
Could you tell how the values can be used? I see, we have rss, headTotal and heapMaster? How can I calculate this to MB and how is this related to the 512 MB RAM of a dyno?
bendytree
This SO post explains the values: stackoverflow.com/questions/12023359/…
heroku run /proc/*/statm(I didn't figure it out myself yet)