Introducing PHP-FPM monitoring (beta)

We’re happy to announce the beta release of Dynatrace PHP-FPM monitoring! Dynatrace PHP-FPM monitoring provides information about connections, slow requests, and processes. Now you’ll know immediately if your PHP-FPM is underperforming. And when problems occur, it’s easy to see which hosts are affected.

To view PHP-FPM monitoring insights

  1. Click Technologies in the navigation menu.
  2. Click the PHP tile.
  3. To view cluster metrics, expand the Details section of the PHP-FPM process group.
  4. Click the Process group details button. 
    PHP-FPM cluster
  5. On the Process group details page, select the Technology-specific metrics tab.
  6. Select a relevant time interval from the Time frame selector in the top menu bar.
  7. Select a metric type from the metric drop list beneath the timeline to compare the values of all nodes in a sortable table view.
  8. To access node-specific metrics, select a node from the Process list at the bottom of the page.
    PHP FPM cluster
  9. Click the PHP-FPM tab. 
    PHP-FPM tab process monitoringHere you’ll find the number of Accepted connections (connections accepted by the pool), and the Slow requests count. Please note that the Accepted connections measure is sometimes misunderstood to represent the number of requests. This metric measures exactly what its name suggests—the number of accepted connections.

Additional PHP-FPM node monitoring metrics

More PHP-FPM monitoring metrics are available on individual Process pages. Select the Further details tab to view these metrics.

Additional PHP-FPM metrics

Here you’ll find additional PHP-FPM charts for RequestsInput buffering, and Processes.

Additional PHP-FPM metrics

When the number of total active processes reaches the Total processes limit, new scripts are prevented from running until the problematic processes have completed. The maximum number of Waiting connections defines the maximum number of connections that will be queued. Once this limit is reached, subsequent connections are refused or ignored.

PHP-FPM metrics

Metric Description
Accepted connections The number of connections  accepted by the pool
 Slow requests The number of requests that have exceeded the request_slowlog_timeout value
Waiting connections The number of requests in the queue of pending connections
Max number of waiting connections The size of the pending connections socket queue
Active processes The number of active processes
Total processes The number of idle + active processes


  • Linux OS or Windows
  • PHP  version  5.5.9+
  • PHP-FPM Status Page must be enabled on all nodes you want to monitor.

Enable PHP-FPM monitoring globally

With PHP-FPM monitoring enabled globally, Dynatrace automatically collects PHP-FPM metrics whenever a new host running PHP-FPM is detected in your environment.

To monitor more than one pool, type the URIs of the individual PHP-FPM status pages (separated by spaces) into the Status page URI field. All PHP-FPM instances must have a correct status page URI reference.

  1. Go to Settings > Monitoring > Monitored technologies.
  2. Set the PHP-FPM switch to On.
  3. Click the ^ button to expand the details of the PHP-FPM integration.
  4. Define a status page URI(s).
  5. Click Save.

Enable PHP-FPM monitoring for individual hosts

Dynatrace provides the option of enabling PHP-FPM monitoring for specific hosts rather than globally.

  1. If global PHP-FPM monitoring is currently enabled, disable it by going to Settings > Monitoring > Monitored technologies and setting the PHP-FPM switch to Off.
  2. Select Hosts in the navigation menu.
  3. Select the host you want to configure.
  4. Click Edit.
  5. Set the PHP-FPM switch to On.

Have feedback?

Your feedback about Dynatrace PHP-FPM monitoring is most welcome! Let us know what you think of the new PHP-FPM plugin by adding a comment below. Or post your questions and feedback to Dynatrace Community.

Visit our dedicated webpage about PHP monitoring to see how Dynatrace supports PHP.