formatting
parent
20a3347de6
commit
f1fd06b16f
|
@ -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 .=
|
||||||
|
|
Loading…
Reference in New Issue