From e3385e0a3146bf5ceed3761ceb0f935f98be19f5 Mon Sep 17 00:00:00 2001 From: Enrico Stahn Date: Sun, 25 Feb 2018 22:06:23 +1100 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 80f8bd7..3715012 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,8 @@ The `server` command runs the server required for prometheus to retrieve the sta | `--web.listen-address` | Address on which to expose metrics and web interface. | `PHP_FPM_WEB_LISTEN_ADDRESS` | [`:9253`](https://github.com/prometheus/prometheus/wiki/Default-port-allocations) | | `--web.telemetry-path` | Path under which to expose metrics. | `PHP_FPM_WEB_TELEMETRY_PATH` | `/metrics` | | `--phpfpm.scrape-uri` | FastCGI address, e.g. unix:///tmp/php.sock;/status or tcp://127.0.0.1:9000/status | `PHP_FPM_SCRAPE_URI` | `tcp://127.0.0.1:9000/status` | -| `--log.level` | Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal] (default "error") | PHP_FPM_LOG_LEVEL | info | +| `--phpfpm.fix-process-count` | Enable to calculate process numbers via php-fpm_exporter since PHP-FPM sporadically reports wrong active/idle/total process numbers. | `PHP_FPM_FIX_PROCESS_COUNT`| `false` | +| `--log.level` | Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal] (default "error") | `PHP_FPM_LOG_LEVEL` | info | ### CLI Examples @@ -129,4 +130,4 @@ Before starting any work, please either comment on an existing issue, or file a * [bakins/php-fpm-exporter](https://github.com/bakins/php-fpm-exporter) * [peakgames/php-fpm-prometheus](https://github.com/peakgames/php-fpm-prometheus) -* [craigmj/phpfpm_exporter](https://github.com/craigmj/phpfpm_exporter) \ No newline at end of file +* [craigmj/phpfpm_exporter](https://github.com/craigmj/phpfpm_exporter)