1.0.53 • Published 5 months ago

@enp/pm2-metrics v1.0.53

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

npm NPM Downloads NPM

PM2 Metrics

Easy Install with PM2

pm2 install pm2-metrics

Or Clone and run as a seperate application

    $ git clone https://github.com/saikatharryc/pm2-prometheus-exporter.git
    $ npm install
    $ pm2 start exporter.js --name pm2-metrics

Open your browser

http://<HOST>:9209/metrics

For Prometheus Config

in prometheus.yaml inside scrape_configs add this block:

- 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
1.0.53

5 months ago

1.0.52

5 months ago

1.0.49

6 months ago

1.0.51

6 months ago

1.0.50

6 months ago

1.0.48

1 year ago