Produces Metrics of Pm2 of running instances.little updated version of https://github.com/burningtree/pm2-prometheus-exporter, any PR is appriciated.
npm install pm2-metrics


#### Easy Install with PM2
``shell`
pm2 install pm2-metrics
#### Or Clone and run as a seperate application
`shell`
$ git clone https://github.com/saikatharryc/pm2-prometheus-exporter.git
$ npm install
$ pm2 start exporter.js --name pm2-metrics
#### Open your browser
`shell`
http://
#### For Prometheus Config
in prometheus.yamlscrape_configs
inside add this block:
`yml`
- job_name: pm2-metrics
scrape_interval: 10s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- localhost:9209
#### Grafana dashboard #1 (comment)
###### PR(s) & issue(s) are welcome
###### \*change host name from localhost` on basics where you are hosting
###### Modified & Working Version from pm2-prometheus-exporter by @burningtree