Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ If you like to have a more granular reporting please use `phpfpm_process_state`.
PHP_FPM_FIX_PROCESS_COUNT=1 go run main.go server --web.listen-address ":12345" --log.level=debug
```

### Configure PHP-FPM to expose its metrics
To expose PHP-FPM metrics, you need to configure the PHP-FPM status page in the `php-fpm.conf` file (or `/etc/php/7.4/fpm/pool.d/www.conf`). Add or Uncomment the following configuration to the file:
```
pm.status_path = /status
```
Then, restart PHP-FPM to apply the changes.

### Docker Examples

* Run docker manually
Expand Down