A Rust application that monitors PHP-FPM socket queue lengths across Docker containers and sends metrics to AWS CloudWatch.
This tool replaces the original bash script that monitors PHP-FPM containers. It:
- Discovers PHP-FPM containers: Scans running Docker containers to find those running
php-fpm
- Collects queue metrics: Uses
nsenter
andss
commands to check socket queue lengths - Sends to CloudWatch: Uses the AWS SDK to send high-resolution metrics to CloudWatch