Files
librenms-librenms/includes/html/graphs/application/php-fpm_overview_slow_requests.inc.php
Zane C. Bowers-HadleyandGitHub 1b5f5cee37 PHP-FPM app update to handle multiple pools (#16122)
* checkpoint work for now

* polling should be good now

* re-work php-fpm some more

* re-work the php-fpm app page

* add php-fpm_v1_combined.inc.php

* add more graphs

* more work

* add last request cpu

* fix stats for pools

* more graph work

* update the docs for php-fpm

* more graph work

* more graph stuff

* graph stuff now done

* some style fixes

* another style fix

* remove a unneeded use line

* add new tests

* add some missing items to the test

* json fix

* remove start time and add data
2024-07-04 15:03:45 -05:00

21 lines
505 B
PHP

<?php
$name = 'php-fpm';
$descr = 'Slow Requests';
$stat = 'slow_requests';
$unit_text = 'Requests/S';
$ds = 'data';
$filename = Rrd::name($device['hostname'], ['app', $name, $app->app_id, 'totals___slow_requests']);
if (! Rrd::checkRrdExists($filename)) {
$filename = Rrd::name($device['hostname'], ['app', $name, $app->app_id]);
$ds = 'sr';
if (! Rrd::checkRrdExists($filename)) {
echo 'file missing: ' . $filename;
}
}
require 'includes/html/graphs/generic_stats.inc.php';