formatting

master
Dirk Heilig 2024-08-29 15:08:06 +02:00
parent 20a3347de6
commit f1fd06b16f
1 changed files with 2 additions and 1 deletions

View File

@ -236,7 +236,7 @@ function output(): void
} }
} }
$prom .= "# \n"; $prom .= "# \n";
$prom .= "# global counter : $globalCounter\n"; $prom .= "# global counter : $globalCounter\n\n";
$filteredData = []; $filteredData = [];
@ -275,6 +275,7 @@ function output(): void
$prom .= $entry["name"] . $labels . " " . $entry["value"] . "\n"; $prom .= $entry["name"] . $labels . " " . $entry["value"] . "\n";
} }
$prom .= "\n\n# internals\n";
$prom .= $prom .=
"memory_usage_current{unit=\"bytes\"} " . memory_get_usage() . "\n"; "memory_usage_current{unit=\"bytes\"} " . memory_get_usage() . "\n";
$prom .= $prom .=