Generate and Deploy Node.js Applications using Bluemix

Tasks such as installing Node.js modules, adding require statements, and adding service configuration files are simple, yet repetitive tasks that Node.js developers need to do. To remove this mundane task, Bluemix has created code generators which enable a user to quickly generate and deploy Java, Swift or Node.js projects. The Bluemix CLI makes it simple to provision, bind,...  Continue reading Generate and Deploy Node.js Applications using Bluemix

Testing the node-report native npm module

The node-report module provides an easy-to-use general purpose diagnostic report for Node.js applications. It can be triggered automatically on uncaught exceptions or fatal errors, by OS signal, or by calling a JavaScript API. The module contains native (C++) code so that it can run when the V8 JavaScript engine has failed (for example...  Continue reading Testing the node-report native npm module

N-API PR lands

I've mentioned a few times that we have been working with the community on an ABI stable module API for Node.js native modules (N-API).  Based on earlier discussion at the latest vm summit (see https://developer.ibm.com/node/2017/03/07/node-js-vm-summit-moving-forward-with-n-api/ for details) the goal was to get it into master as an experimental feature so that it can be included...  Continue reading N-API PR lands

Community regressions affect SDK releases

Version 6.10.1 of the SDK was released yesterday but has been withdrawn due to the discovery of a memory leak and other regressions in the community version on which the release is based. For more information, see the community GitHub page at https://github.com/nodejs/LTS/issues/193. If you have already installed this version, revert...  Continue reading Community regressions affect SDK releases

Diagnostic dumps for Node.js applications in Bluemix

Introduction For application problems in production environments, dumps are a vital tool, allowing diagnostic information to be captured when failure events occur, and problem analysis to continue off-line. There are three types of dump available to developers, system administrators or maintainers of Node.js applications in Bluemix: node-report, a human-readable diagnostic summary, written to file....  Continue reading Diagnostic dumps for Node.js applications in Bluemix

Use appmetrics-dash in Bluemix in 3 easy steps

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-dash');require('appmetrics-dash').attach({appmetrics:appm}); Then, once you have deployed...  Continue reading Use appmetrics-dash in Bluemix in 3 easy steps

Understanding the Application Metrics for Node.js dashboard

The Application Metrics for Node.js monitoring dashboard has been relaunched with a brand new UI providing a range of metrics including HTTP requests and event loop latency. Installation Adding monitoring to your application is very straightforward in most cases, requiring just one additional line added to the top of your main javascript source file: require('appmetrics-dash').monitor() After starting...  Continue reading Understanding the Application Metrics for Node.js dashboard