We’re pleased to announce that Datadog can now help you track your PHP-FPM performance with our new integration.
PHP-FPM (FastCGI Process Manager) serves as a proxy for your PHP backend, balancing the requests sent to PHP. It’s a popular tool used with web servers like Apache and NGINX. FPM is included as part of the standard PHP package.
Datadog’s PHP-FPM integration comes with a built-in screenboard that displays some of the metrics our Agent collects from FPM (e.g., listen queue, active processes, pool size adjustments, slow log, etc.).
The integration automatically collects FPM metrics in Datadog to let you visualize and correlate them with the rest of your applications. You can make comments on specific FPM activity and discuss specific metrics and events with your team members. You can also set up custom service checks and monitors to notify you in case there are problems with your FPM instances.
Most of our customers have many instances of FPM running for redundancy/failover purposes. Datadog lets you easily track these associated FPM clusters, as well. Datadog recognizes and records all of the tags associated with a server instance, allowing you to easily get the big picture of what’s going on across multiple FPM instances by aggregating data on different dimensions.
When using a dynamic pool of processes, these metrics will allow you to pinpoint when FPM is underpowered and help you adjust your pool configuration or capacity.
The PHP-FPM service check is easy to setup and use in Datadog. You just turn it on, point it to the set of instances that have FPM, and it starts reporting on their status. As with all Datadog service checks, you can customize what matters to you. For example, you could set it to only throw an alert if a certain percentage of instances in a pool is not responding.
Do you use PHP-FPM? Sign up for a free 14-day trial of Datadog to see how you can increase your understanding of your PHP-FPM performance. Setting up the FPM integration after signing up takes a minute and will begin to collect metrics immediately.