@saulx/metrics-exporter

2.1.1 • Public • Published

Metrics Exporter

Easy Install with PM2

pm2 install @saulx/metrics-exporter

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 metrics-exporter

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
Based from PM2 Metrics .

Readme

Keywords

none

Package Sidebar

Install

npm i @saulx/metrics-exporter

Weekly Downloads

3

Version

2.1.1

License

UNLICENSED

Unpacked Size

9.66 kB

Total Files

8

Last publish

Collaborators

  • saulx