{"id":23674118,"url":"https://github.com/saikatharryc/pm2-prometheus-exporter","last_synced_at":"2025-05-15T10:03:11.518Z","repository":{"id":32929024,"uuid":"146691562","full_name":"saikatharryc/pm2-prometheus-exporter","owner":"saikatharryc","description":":rabbit: :rabbit: pm2 prometheus exporter","archived":false,"fork":false,"pushed_at":"2025-03-20T20:24:18.000Z","size":1125,"stargazers_count":155,"open_issues_count":18,"forks_count":40,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T19:58:23.186Z","etag":null,"topics":["metrics","pm2","prometheus","prometheus-exporter"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saikatharryc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-08-30T03:36:54.000Z","updated_at":"2025-04-03T20:03:21.000Z","dependencies_parsed_at":"2024-06-12T16:47:02.154Z","dependency_job_id":"e08ba774-3244-4f3b-8f19-42113c825f10","html_url":"https://github.com/saikatharryc/pm2-prometheus-exporter","commit_stats":{"total_commits":127,"total_committers":12,"mean_commits":"10.583333333333334","dds":"0.40944881889763785","last_synced_commit":"7e1cda7c80f9c665ee0b3c308721672847099d9e"},"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saikatharryc%2Fpm2-prometheus-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saikatharryc%2Fpm2-prometheus-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saikatharryc%2Fpm2-prometheus-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saikatharryc%2Fpm2-prometheus-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saikatharryc","download_url":"https://codeload.github.com/saikatharryc/pm2-prometheus-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254162190,"owners_count":22024934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["metrics","pm2","prometheus","prometheus-exporter"],"created_at":"2024-12-29T13:00:08.639Z","updated_at":"2025-05-15T10:03:05.225Z","avatar_url":"https://github.com/saikatharryc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/pm2-metrics.svg)](https://npmjs.com/package/pm2-metrics) \n[![NPM Downloads](https://img.shields.io/npm/dm/pm2-metrics.svg)](https://www.npmjs.com/package/pm2-metrics)\n[![NPM](https://nodei.co/npm/pm2-metrics.png?downloads=true)](https://nodei.co/npm/pm2-metrics/)\n\n# PM2 Metrics\n\n#### Easy Install with PM2\n\n```shell\npm2 install pm2-metrics\n```\n\n#### Or Clone and run as a seperate application\n\n```shell\n    $ git clone https://github.com/saikatharryc/pm2-prometheus-exporter.git\n    $ npm install\n    $ pm2 start exporter.js --name pm2-metrics\n```\n\n#### Open your browser\n\n```shell\nhttp://\u003cHOST\u003e:9209/metrics\n```\n\n#### For Prometheus Config\n\nin `prometheus.yaml`\ninside `scrape_configs` add this block:\n\n```yml\n- job_name: pm2-metrics\nscrape_interval: 10s\nscrape_timeout: 10s\nmetrics_path: /metrics\nscheme: http\nstatic_configs:\n  - targets:\n      - localhost:9209\n```\n\n#### Grafana dashboard [#1 (comment)](https://github.com/saikatharryc/pm2-prometheus-exporter/issues/1#issuecomment-499551831)\n\n###### PR(s) \u0026 issue(s) are welcome\n\n###### \\*change host name from `localhost` on basics where you are hosting\n\n###### Modified \u0026 Working Version from [pm2-prometheus-exporter by @burningtree](https://github.com/burningtree/pm2-prometheus-exporter)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaikatharryc%2Fpm2-prometheus-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaikatharryc%2Fpm2-prometheus-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaikatharryc%2Fpm2-prometheus-exporter/lists"}