New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@solenai/monitor

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@solenai/monitor

Report health and errors from any Node.js app to Solen for automatic healing

latest
npmnpm
Version
3.0.0
Version published
Maintainers
1
Created
Source

@solen/monitor

Five lines of code. Any Node.js app reports to Solen.

npm install @solen/monitor
import { monitor } from '@solen/monitor';

monitor({
  token: process.env.SOLEN_TOKEN,
  healthCheckUrl: 'https://yourapp.com/health',
});
// That's it. Solen monitors and heals your app.

Configuration

OptionDescription
tokenRequired. ExternalApp.agentToken from the Solen dashboard.
healthCheckUrlOptional URL probed each interval; three failures report down and trigger heal.
intervalHeartbeat interval in ms (default 30000).
apiUrlOmni API base URL (default https://api.solenai.ca).
appNameOptional label included in heartbeat metrics.

Manual errors

import { monitor, reportError } from '@solen/monitor';

monitor({ token: process.env.SOLEN_TOKEN });

try {
  await chargeCustomer(orderId);
} catch (err) {
  reportError(err instanceof Error ? err : new Error(String(err)));
  throw err;
}

Requirements

  • Node.js 18+ (uses built-in fetch)
  • No runtime dependencies

Keywords

solen

FAQs

Package last updated on 02 Jun 2026

Related posts