What's New

How to analyze the performance of Liberty Java or Node.js apps in Bluemix

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.

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:

GC

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:

node

Reference: IBM Monitoring and Diagnostic Tools – Health Center

Add Comment
No Comments

Leave a Reply

Your email address will not be published.Required fields are marked *

More What's New stories

Log Analysis just got easier for serverless apps

In serverless applications, functions are small and need to execute in less amount of time in a stateless environment. Logging then becomes a challenge for DevOps to do Root Cause Analysis (RCA) or get insights about the behavior of their applications. One logging approach is to add code to your functions to send logs to an external API, which can be a […]

Continue reading

Bringing Continuous Delivery with Codefresh to Kubernetes on IBM Cloud

This post was co-authored with Dan Garfield, VP of Marketing at Codefresh and Full-Stack Developer.  We’re excited to partner with Codefresh and validate their technology on IBM Cloud, providing both customers sets with a consistent user experience and tool set. As a certified Kubernetes provider, IBM is one of the leaders in hosted and managed […]

Continue reading