diff --git a/mqtt2prom/run b/mqtt2prom/run index 3df4b31..2f8e02a 100755 --- a/mqtt2prom/run +++ b/mqtt2prom/run @@ -237,6 +237,7 @@ function output(): void } $prom .= "# \n"; $prom .= "# global counter : $globalCounter\n"; + $filteredData = []; foreach ($data as $entry) {