andrewcbass / newrelic-pm2-plugin

New Relic plugin to pull in data from PM2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pm2plugin

Build Status This plugin will pull data from PM2 and publish to New Relic as a plugin

Installation instructions

Need to install the dependencies and setup the config

  • Run npm install to get the dependencies (PM2 must already be installed)
  • Copy config-template.json to config.json and enter your New Relic license key
  • Run plugin under PM2 with pm2 start ./pm2plugin.js
  • Data should show up under pm2plugin in your New Relic account

PM2 Dashboard

History

  • 1.1.0 - Metrics for each PM2 process and added restarts per interval
  • 1.0.4 - Close the connection to PM2 on each poll cycle
  • 1.0.3 - Fix for when errors are not properly handled from Plugin API
  • 1.0.2 - Support for multiple PM2 Servers (run on each PM2 instance)
  • 1.0.1 - Support for single PM2 Server only, separate config file
  • 1.0.0 - Initial prototype

About

New Relic plugin to pull in data from PM2

License:MIT License


Languages

Language:JavaScript 100.0%