July 3, 2015 | Written by: Janet Schofield
Categorized: What's New
Share this post:
The App Management feature in IBM SDK for Node.js Buildpack v2.0 and Liberty for Java buildpack version v1.19 makes it possible to enable development capabilities such as remote debugging and incremental update, along with more general application management features. App Management now also supports analyzing the performance of your Liberty and Node.js applications when in development mode by using the IBM Monitoring and Diagnostic Tools – Health Center.
The short video below introduces the features of the new Health Center on Bluemix:
Ready to give it a try? If you don’t already have the Health Center client installed in your Eclipse environment, head over to developerWorks to download it now.
Start the Health Center agent in your Bluemix app
In your Bluemix application, enable the the enhanced App Management feature by using the environment variable
BLUEMIX_APP_MGMT_ENABLE as explained in enhanced app management support. Simply set the value to
hc and restart your application. This will start the Health Center agent in your application and allow you to use the Health Center client to connect to it.
Monitor your application performance with the Health Center client
From a Health Center client perspective in your Eclipse, select File > New Connection and then select the new Bluemix tab in the Select connector screen of the wizard.
Enter the requested information and once your application has been found, you will see live performance data start appearing in the client. For example, below is garbage collection being monitored in Liberty:
By default the collection on Profiling data is disabled when monitoring Node.js apps, but you can enable it from the client window using the menu item ‘Monitored System’. Below is an example of profiling being enabled in Node.js:
Reference: IBM Monitoring and Diagnostic Tools – Health Center