WARNING: Version 6.2 of Metricbeat has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
PHP_FPM fieldsedit
This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
PHP-FPM server status metrics collected from PHP-FPM.
php_fpm fieldsedit
php_fpm
contains the metrics that were obtained from PHP-FPM status page call.
pool fieldsedit
pool
contains the metrics that were obtained from the PHP-FPM process pool.
php_fpm.pool.name
edit
type: keyword
The name of the pool.
php_fpm.pool.process_manager
edit
type: keyword
Static, dynamic or ondemand.
connections fieldsedit
Connection state specific statistics.
php_fpm.pool.connections.accepted
edit
type: long
The number of incoming requests that the PHP-FPM server has accepted; when a connection is accepted it is removed from the listen queue.
php_fpm.pool.connections.queued
edit
type: long
The current number of connections that have been initiated, but not yet accepted. If this value is non-zero it typically means that all the available server processes are currently busy, and there are no processes available to serve the next request. Raising pm.max_children
(provided the server can handle it) should help keep this number low. This property follows from the fact that PHP-FPM listens via a socket (TCP or file based), and thus inherits some of the characteristics of sockets.
php_fpm.pool.connections.max_listen_queue
edit
type: long
The maximum number of requests in the queue of pending connections since FPM has started.
php_fpm.pool.connections.listen_queue_len
edit
type: long
The size of the socket queue of pending connections.
processes fieldsedit
Process state specific statistics.
php_fpm.pool.processes.idle
edit
type: long
The number of servers in the waiting to process
state (i.e. not currently serving a page). This value should fall between the pm.min_spare_servers
and pm.max_spare_servers
values when the process manager is dynamic
.
php_fpm.pool.processes.active
edit
type: long
The number of servers current processing a page - the minimum is 1
(so even on a fully idle server, the result will be not read 0
).
php_fpm.pool.processes.total
edit
type: long
The number of idle + active processes.
php_fpm.pool.processes.max_active
edit
type: long
The maximum number of active processes since FPM has started.
php_fpm.pool.processes.max_children_reached
edit
type: long
Number of times, the process limit has been reached, when pm tries to start more children (works only for pm dynamic and ondemand).
php_fpm.pool.slow_requests
edit
type: long
The number of times a request execution time has exceeded request_slowlog_timeout
.
php_fpm.pool.start_since
edit
type: long
Number of seconds since FPM has started.
php_fpm.pool.start_time
edit
type: date
format: epoch_second
The date and time FPM has started.