Getting Started
  • Updated on 28 Jun 2019
  • 1 minute to read
  • Contributors
  • Print
  • Share
  • Dark
    Light

Getting Started

  • Print
  • Share
  • Dark
    Light

Retrace offers many basic and advanced features. In this article we will try to outline all of the amazing things that Retrace can do for your NodeJS application.

Step 1. Install Retrace

The first thing you need to do is install the Retrace monitoring agent on your server.

Standard Installs

Linux Only Currently
Currently, only NodeJS on Linux is supported. Windows support is planned for a future release in 2019.

Step 2. Add Stackify Module

Add Stackify APM module to each application to monitor.

npm install stackify-node-apm --save

Configure Application
Copy node_modules/stackify-node-apm/stackify.js into your application's root directory and modify Application Name and Environment Name.

Initialize Profiler
Add require('stackify-node-apm') to the top of your application's main module.

Deploy or Restart your application.

Step 3. Send Your Logs to Retrace

You can send your applications logs to Retrace with multiple NodeJS logging frameworks. Be sure to send your logs to take full advantage of Retrace's error tracking and centralized logging features. Errors are also used as part of Retrace's "App Scoring" feature.

How to Configure NodeJS Logging

Was this article helpful?