{"id":18992984,"url":"https://github.com/bakins/php-fpm-exporter","last_synced_at":"2025-04-06T17:13:23.827Z","repository":{"id":54556990,"uuid":"92086202","full_name":"bakins/php-fpm-exporter","owner":"bakins","description":"Prometheus exporter for php-fpm status. ","archived":false,"fork":false,"pushed_at":"2023-08-17T12:31:22.000Z","size":3929,"stargazers_count":206,"open_issues_count":18,"forks_count":46,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-30T15:11:12.556Z","etag":null,"topics":["php-fpm","prometheus"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bakins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-22T18:26:41.000Z","updated_at":"2025-03-01T00:08:30.000Z","dependencies_parsed_at":"2024-06-18T20:59:03.436Z","dependency_job_id":"d94f2f75-2953-4142-8175-c1ce11fe0c8b","html_url":"https://github.com/bakins/php-fpm-exporter","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakins%2Fphp-fpm-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakins%2Fphp-fpm-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakins%2Fphp-fpm-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakins%2Fphp-fpm-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bakins","download_url":"https://codeload.github.com/bakins/php-fpm-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247517921,"owners_count":20951719,"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":["php-fpm","prometheus"],"created_at":"2024-11-08T17:19:29.214Z","updated_at":"2025-04-06T17:13:23.785Z","avatar_url":"https://github.com/bakins.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"php-fpm-exporter\n================\n\nExport php-fpm metrics in [Prometheus](https://prometheus.io/) format.\n\nSee [Releases](https://github.com/bakins/php-fpm-exporter/releases) for pre-built binaries.\n\nAlso availible on Docker Hub [bakins/php-fpm-exporter](https://hub.docker.com/r/bakins/php-fpm-exporter/)\n\nBuild\n=====\n\nRequires [Go](https://golang.org/doc/install). Tested with Go 1.12.\n\nClone this repo locally and run build:\n\n```\nmkdir -p $HOME/src\ncd $HOME/src\ngit clone https://github.com/bakins/php-fpm-exporter\ncd php-fpm-exporter\n./script/build\n```\n\nYou should then have two executables: php-fpm-exporter.linux.amd64 and php-fpm-exporter.darwin.amd64\n\nYou may want to rename for your local OS, ie `mv php-fpm-exporter.darwin.amd64 php-fpm-exporter`\n\nRunning\n=======\n\n```\n./php-fpm-exporter --help\nphp-fpm metrics exporter\n\nUsage:\n  php-fpm-exporter [flags]\n\nFlags:\n      --addr string       listen address for metrics handler (default \"127.0.0.1:8080\")\n      --endpoint string   url for php-fpm status (default \"http://127.0.0.1:9000/status\")\n      --fastcgi string    fastcgi url. If this is set, fastcgi will be used instead of HTTP\n```\n\nWhen running, a simple healthcheck is available on `/healthz`\n\nTo use the HTTP endpoint you must pass through `/status` in your webserver \nand configure php-fpm to handle status requests. Example for nginx: https://easyengine.io/tutorials/php/fpm-status-page/\n\nTo use Fastcgi, set `--fastcgi` to a url such as `tcp://127.0.0.1:9090/status` if php-fpm is listening on a tcp socket or \n`unix:///path/to/php.sock` for a unix socket. Note: php-fpm must be configured to use `/status` if using a unix socket, `php-fpm-exporter` does not currently support changing this.\n\nMetrics\n=======\n\nMetrics will be exposes on `/metrics`\n\nLICENSE\n========\n\nSee [LICENSE](./LICENSE)\n\nloosely based on https://github.com/peakgames/php-fpm-prometheus/ which is MIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbakins%2Fphp-fpm-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbakins%2Fphp-fpm-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbakins%2Fphp-fpm-exporter/lists"}