All Projects → bakins → Php Fpm Exporter

bakins / Php Fpm Exporter

Licence: mit
Prometheus exporter for php-fpm status.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Php Fpm Exporter

Prometheus To Cloudwatch
Utility for scraping Prometheus metrics from a Prometheus client endpoint and publishing them to CloudWatch
Stars: ✭ 127 (-13.01%)
Mutual labels:  prometheus
Gofn
Function process via docker provider (serverless minimalist)
Stars: ✭ 134 (-8.22%)
Mutual labels:  prometheus
Bricks
A standard library for microservices.
Stars: ✭ 142 (-2.74%)
Mutual labels:  prometheus
Loki
Loki: Simple, Distributed Tracing
Stars: ✭ 127 (-13.01%)
Mutual labels:  prometheus
Swarmprom
Docker Swarm instrumentation with Prometheus, Grafana, cAdvisor, Node Exporter and Alert Manager
Stars: ✭ 1,739 (+1091.1%)
Mutual labels:  prometheus
Nvidia gpu prometheus exporter
NVIDIA GPU Prometheus Exporter
Stars: ✭ 138 (-5.48%)
Mutual labels:  prometheus
Promplot
Create plots from Prometheus metrics and send them to you
Stars: ✭ 125 (-14.38%)
Mutual labels:  prometheus
Promster
⏰A Prometheus exporter for Hapi, express and Marble.js servers to automatically measure request timings 📊
Stars: ✭ 146 (+0%)
Mutual labels:  prometheus
Ping exporter
Prometheus exporter for ICMP echo requests using https://github.com/digineo/go-ping
Stars: ✭ 134 (-8.22%)
Mutual labels:  prometheus
Redis exporter
Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x, 4.x, 5.x and 6.x
Stars: ✭ 2,092 (+1332.88%)
Mutual labels:  prometheus
Go Http Metrics
Go modular http middleware to measure HTTP requests independent of metrics backend (with Prometheus and OpenCensus as backend implementations) and http framework/library
Stars: ✭ 128 (-12.33%)
Mutual labels:  prometheus
Cassandra exporter
Apache Cassandra® metrics exporter for Prometheus
Stars: ✭ 133 (-8.9%)
Mutual labels:  prometheus
Prometheus Sql
Service that exposes Prometheus metrics for a SQL result set.
Stars: ✭ 140 (-4.11%)
Mutual labels:  prometheus
Ecs Exporter
Export AWS ECS cluster metrics to Prometheus
Stars: ✭ 127 (-13.01%)
Mutual labels:  prometheus
Hollowtrees
A ruleset based watchguard to keep spot/preemptible instance based clusters safe, with plugins for VMs, Kubernetes, Prometheus and Pipeline
Stars: ✭ 141 (-3.42%)
Mutual labels:  prometheus
Starlette Prometheus
Prometheus integration for Starlette.
Stars: ✭ 127 (-13.01%)
Mutual labels:  prometheus
Cerebral
Kubernetes cluster autoscaler with pluggable metrics backends and scaling engines
Stars: ✭ 138 (-5.48%)
Mutual labels:  prometheus
Elephant Shed
PostgreSQL Management Appliance
Stars: ✭ 146 (+0%)
Mutual labels:  prometheus
Go Notify
An email automation solution, written in Golang.
Stars: ✭ 143 (-2.05%)
Mutual labels:  prometheus
Promitor
Bringing Azure Monitor metrics where you need them.
Stars: ✭ 140 (-4.11%)
Mutual labels:  prometheus

php-fpm-exporter

Export php-fpm metrics in Prometheus format.

See Releases for pre-built binaries.

Also availible on Docker Hub bakins/php-fpm-exporter

Build

Requires Go. Tested with Go 1.12.

Clone this repo locally and run build:

mkdir -p $HOME/src
cd $HOME/src
git clone https://github.com/bakins/php-fpm-exporter
cd php-fpm-exporter
./script/build

You should then have two executables: php-fpm-exporter.linux.amd64 and php-fpm-exporter.darwin.amd64

You may want to rename for your local OS, ie mv php-fpm-exporter.darwin.amd64 php-fpm-exporter

Running

./php-fpm-exporter --help
php-fpm metrics exporter

Usage:
  php-fpm-exporter [flags]

Flags:
      --addr string       listen address for metrics handler (default "127.0.0.1:8080")
      --endpoint string   url for php-fpm status (default "http://127.0.0.1:9000/status")
      --fastcgi string    fastcgi url. If this is set, fastcgi will be used instead of HTTP

When running, a simple healthcheck is available on /healthz

To use the HTTP endpoint you must pass through /status in your webserver and configure php-fpm to handle status requests. Example for nginx: https://easyengine.io/tutorials/php/fpm-status-page/

To 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 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.

Metrics

Metrics will be exposes on /metrics

LICENSE

See LICENSE

loosely based on https://github.com/peakgames/php-fpm-prometheus/ which is MIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].