@sematext/logagent-nodejs-monitor

2.0.10 • Public • Published

Monitoring for @sematext/logagent

This plugin provides monitoring for the @sematext/logagent process with SPM for Node.js.

Installation

Make sure @sematext/logagent (> v2.0) is installed.

npm i -g @sematext/logagent 
npm i -g @sematext/logagent-nodejs-monitor 

Then add following lines to your logagent 2.x config file:

input:
  logagentMonitor:
    module: @sematext/logagent-nodejs-monitor
    INFRA_TOKEN: YOUR_SEMATEXT_INFRA_MONITORING_TOKEN
    MONITORING_TOKEN: YOUR_NODEJS_APP_TOKEN
    SPM_LOG_TO_CONSOLE: false
    SPM_LOG_LEVEL: error

Restart logagent-js service.

Documentation

Readme

Keywords

none

Package Sidebar

Install

npm i @sematext/logagent-nodejs-monitor

Weekly Downloads

20

Version

2.0.10

License

ISC

Unpacked Size

16.6 kB

Total Files

7

Last publish

Collaborators

  • megastef
  • sematext