To use appmetrics-dash in an application hosted on Bluemix requires 3 easy steps.
Rather than have appmetrics-dash start its own http server (which is the default), we can make it use the server that will typically have been started by your application.
npm install -S appmetrics-dash
- In your Node.js application, add:
var appm = require('appmetrics');
- Then, once you have deployed your application to Bluemix, point your web browser at:
This can also be applied to any application that already has a webserver and you want to have appmetrics-dash use that for its hosting.