diff --git a/module/module.py b/module/module.py index 37b793b..137f1aa 100644 --- a/module/module.py +++ b/module/module.py @@ -75,7 +75,8 @@ class Module: """!Returns statistical information's from last module run @return Statistics as pyton dict""" - stats = {"runCount": self._runCount, + stats = {"type": "plugin", + "runCount": self._runCount, "cumTime": self._cumTime, "moduleTime": self._moduleTime, "moduleErrorCount": self._moduleErrorCount} diff --git a/plugin/plugin.py b/plugin/plugin.py index 98721bb..9101a96 100644 --- a/plugin/plugin.py +++ b/plugin/plugin.py @@ -123,7 +123,8 @@ class Plugin: """!Returns statistical information's from last plugin run @return Statistics as pyton dict""" - stats = {"runCount": self._runCount, + stats = {"type": "plugin", + "runCount": self._runCount, "sumTime": self._sumTime, "cumTime": self._cumTime, "setupTime": self._setupTime,