Documentation
Get started by integrating our SDK into your application.
Step 1: Install the SDK
npm i saas-monitoring-sdkStep 2: Get your API key
Retrieve the api_key for your corresponding service from your SaaS Monitoring Dashboard.
Step 3: Add this code to your entry server's point
Initialize the logger with your API key
// SaaS Monitoring for Node
app.set('trust proxy', true);
const Logger = require('saas-monitoring-sdk');
Logger.init({
api_key: 'your_api_key',
});
app.use(Logger.middleware());