No description
Find a file
2018-02-20 10:07:08 +11:00
.circleci Configure goreleaser and CircleCI to produce a docker image 2018-02-19 13:07:35 +11:00
cmd Remove dev gunk 2018-02-20 10:07:08 +11:00
phpfpm Add package documentation 2018-02-19 12:12:34 +11:00
.gitignore Add vendor and .idea directory to .gitignore 2018-02-18 21:58:14 +11:00
.goreleaser.yml Use CGO_ENABLED=0 for the build to get a working docker image 2018-02-19 19:48:35 +11:00
docker-compose.yml Add docker-compose.yml and prometheus.yml for testing 2018-02-18 22:09:37 +11:00
Dockerfile Remove USER nobody from Dockerfile 2018-02-19 16:30:40 +11:00
Gopkg.lock Swap glide with golang dep 2018-02-18 20:36:05 +11:00
Gopkg.toml Swap glide with golang dep 2018-02-18 20:36:05 +11:00
LICENSE Initial commit 2018-02-16 12:20:32 +11:00
main.go Add version information 2018-02-19 19:49:25 +11:00
prometheus.yml Add docker-compose.yml and prometheus.yml for testing 2018-02-18 22:09:37 +11:00
README.md Add contribution section 2018-02-19 10:20:00 +11:00

php-fpm_exporter

CircleCI Go Report Card GoDoc Inline docs Maintainability Test Coverage

A prometheus exporter for PHP-FPM. The exporter connects directly to PHP-FPM and exports the metrics via HTTP.

A webserver such as NGINX or Apache is NOT needed!

Features

  • Export single or multiple pools
  • Export to CLI as text or JSON
  • Connects directly to PHP-FPM via TCP or Socket

Usage

  • php-fpm_exporter get --phpfpm.scrape-uri 127.0.0.1:9000,127.0.0.1:9001,[...]
  • php-fpm_exporter server --phpfpm.scrape-uri 127.0.0.1:9000,127.0.0.1:9001,[...]

Metrics collected

Metric Type

TODO

  • Test with unix socket

Contributing

Contributions are greatly appreciated. The maintainers actively manage the issues list, and try to highlight issues suitable for newcomers. The project follows the typical GitHub pull request model. See " How to Contribute to Open Source " for more details. Before starting any work, please either comment on an existing issue, or file a new one.