A simple way to check the health of your Node.js application

Nik Canvin
Nov 1 · 2 min read

You can get the vital statistics of a Node.js application instantly, such as CPU, memory use, http throughput/response times INSTANTLY, using an appmetrics-dash module from NPM.

The full data available on the dashboard is as follows:

  • CPU Profiling (via a separate tab), helping you find the HOT code
  • HTTP Incoming Requests
  • HTTP Throughput
  • Average Reponse Times (top 5)
  • CPU
  • Memory
  • Heap
  • Event Loop Times
  • Environment
  • Other Requests
  • HTTP Outbound Requests

As well as displaying data, it also provides the ability to generate both Node Report and Heap Snapshots directly from the dashboard. The Node Report will display in a new tab in the browser whilst the Heap Snapshot will be written to disk for loading into the Chrome DevTools for analysis. These can both be triggered from the options menu in the top left of the screen. The dashboard uses Node Application Metrics to monitor the application.

If all that is not good enough already, this capability is now built into Eclipse Codewind enabling you to create cloud-native containerised microservices (without needing complex Kubernetes and Dockers skills).

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade