Update "Metrics collected" in README.md
This commit is contained in:
parent
510d087da9
commit
dc5bc0ae6e
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
@ -94,12 +94,16 @@ The `server` command runs the server required for prometheus to retrieve the sta
|
||||||
# TYPE phpfpm_max_children_reached counter
|
# TYPE phpfpm_max_children_reached counter
|
||||||
# HELP phpfpm_max_listen_queue The maximum number of requests in the queue of pending connections since FPM has started.
|
# HELP phpfpm_max_listen_queue The maximum number of requests in the queue of pending connections since FPM has started.
|
||||||
# TYPE phpfpm_max_listen_queue counter
|
# TYPE phpfpm_max_listen_queue counter
|
||||||
|
# HELP phpfpm_scrape_failures The number of failures scraping from PHP-FPM.
|
||||||
|
# TYPE phpfpm_scrape_failures counter
|
||||||
# HELP phpfpm_slow_requests The number of requests that exceeded your 'request_slowlog_timeout' value.
|
# HELP phpfpm_slow_requests The number of requests that exceeded your 'request_slowlog_timeout' value.
|
||||||
# TYPE phpfpm_slow_requests counter
|
# TYPE phpfpm_slow_requests counter
|
||||||
# HELP phpfpm_start_since The number of seconds since FPM has started.
|
# HELP phpfpm_start_since The number of seconds since FPM has started.
|
||||||
# TYPE phpfpm_start_since counter
|
# TYPE phpfpm_start_since counter
|
||||||
# HELP phpfpm_total_processes The number of idle + active processes.
|
# HELP phpfpm_total_processes The number of idle + active processes.
|
||||||
# TYPE phpfpm_total_processes gauge
|
# TYPE phpfpm_total_processes gauge
|
||||||
|
# HELP phpfpm_up Could PHP-FPM be reached?
|
||||||
|
# TYPE phpfpm_up gauge
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
@ -110,6 +114,15 @@ The project follows the typical GitHub pull request model.
|
||||||
See " [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/) " for more details.
|
See " [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/) " for more details.
|
||||||
Before starting any work, please either comment on an existing issue, or file a new one.
|
Before starting any work, please either comment on an existing issue, or file a new one.
|
||||||
|
|
||||||
|
## FAQ
|
||||||
|
|
||||||
|
* **How to update "Metrics collected"?**
|
||||||
|
|
||||||
|
Copy&paste the output from:
|
||||||
|
```
|
||||||
|
curl http://127.0.0.1:12345/metrics | grep phpfpm | grep "#"
|
||||||
|
```
|
||||||
|
|
||||||
## Alternatives
|
## Alternatives
|
||||||
|
|
||||||
* [bakins/php-fpm-exporter](https://github.com/bakins/php-fpm-exporter)
|
* [bakins/php-fpm-exporter](https://github.com/bakins/php-fpm-exporter)
|
||||||
|
|
Loading…
Reference in a new issue