[php-src] Issue #9494: FPM status with OpenMetrics format and FULL parameter

From: Date: Wed, 07 Sep 2022 09:24:16 +0000
Subject: [php-src] Issue #9494: FPM status with OpenMetrics format and FULL parameter
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242370@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/9494 Author: dmamchyts ### Description Hi, at the first - thank for your job. About issue: we use PHP 8.1.9 in k8s + prometheus. Now we try to migrate from hipages/php-fpm_exporter:2.2.0-amd64 (https://github.com/hipages/php-fpm_exporter) to https://www.php.net/manual/en/fpm.status.php https://localhost/fpm-status?full` - this route returns all data what we want to track/monitor. We use prometheus. So, we try to read fpm-status in prometheus format. https://localhost/fpm-status?openmetrics` - this route returns some. https://localhost/fpm-status?openmetrics&full - this route returns the same data like from https://localhost/fpm-status?openmetrics. It's mean that we can't see additional (like in https://localhost/fpm-status?full`). Looks like is expected behavior according with https://github.com/php/php-src/blob/master/sapi/fpm/fpm/fpm_status.c#L431 - ``full_syntax = "";`` Do have any plans about setting/adding correct data for case with prometheus format (like for TEXT - https://github.com/php/php-src/blob/master/sapi/fpm/fpm/fpm_status.c#L456)? Thank you

« previous php.bugs (#242370) next »