From f1fd06b16fb54e9fb4fbc229ca38c156d793c832 Mon Sep 17 00:00:00 2001 From: Dirk Heilig Date: Thu, 29 Aug 2024 15:08:06 +0200 Subject: [PATCH] formatting --- mqtt2prom/run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mqtt2prom/run b/mqtt2prom/run index bab63fb..d817853 100755 --- a/mqtt2prom/run +++ b/mqtt2prom/run @@ -236,7 +236,7 @@ function output(): void } } $prom .= "# \n"; - $prom .= "# global counter : $globalCounter\n"; + $prom .= "# global counter : $globalCounter\n\n"; $filteredData = []; @@ -275,6 +275,7 @@ function output(): void $prom .= $entry["name"] . $labels . " " . $entry["value"] . "\n"; } + $prom .= "\n\n# internals\n"; $prom .= "memory_usage_current{unit=\"bytes\"} " . memory_get_usage() . "\n"; $prom .=