Commit aae6fcec by Guba Sándor

memory report error and bug fixed

parent 1709803c
......@@ -527,5 +527,5 @@ def get_ram_size():
def get_node_metrics():
result = {}
result['cpu.usage'] = cpu_percent(0)
result['memory.usage'] = virtmem_usage.percent()
result['memory.usage'] = virtual_memory().percent
return result
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