Memshaw

Monitor your hapi application's memory footprint.

Inspired by
PubNub-Rickshaw-Memory, this plugin displays a realtime graph of your NodeJS memory profile over time. It uses socket.io for pushing data to the browser and Shutterstock's Rickshaw library for graphing.

usage

Add the memshaw plugin to your hapi installation, here I am using a manifest file with the glue plugin:

{
...
registrations: [
{ plugin: { register: 'memshaw' } },
...
]
}

Visit your application in the browser using the /memshaw path i.e. localhost:3000/memshaw

Get your app to chew on some memory! For example you could have a terrible route that you curl http://localhost:3000/stress like this: