Skip to content
Node.js Apps

Logs and metrics for your Node.js app

What your app writes to the console, live, plus CPU and memory charts with your plan's limit.

Logs

  • In your app → Logs you see live everything your app writes with console.log, plus errors (stderr, in pink).
  • Pause freezes the view so you can read; Filter searches for text; Download saves what you see as a .log file.
  • The build log (install and compile) is in Deployments → View log.

Metrics

  • In Metrics pick 1 h, 6 h, 24 h or 7 days to see CPU (100% = 1 vCPU) and memory usage, with the dashed limit line.
  • Resources belong to the plan and are shared by all its apps: if one uses a lot, the others get less.

If memory hits the limit, the system restarts the app. If it happens often, look for memory leaks or add the +512 MB RAM add-on from My services.

Ask the assistant

Still have a question about this? Ask the assistant.

Was this article helpful?

Related articles