Commit aae5f918 by Gregory Nagy the client will not send metrics report if no metric is collected in that beat

parent bd5fb513
......@@ -208,6 +208,7 @@ class Client:
metrics = nodeMetrics + vmMetrics
if self.debugMode == "True":
if len(metrics) is not 0:
if self.__send(metrics) is False:
raise RuntimeError
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment